From 3183d9c72ae2293e8e91969a982208a27880f875 Mon Sep 17 00:00:00 2001 From: David Scott Date: Fri, 17 Jun 2016 14:40:30 +0100 Subject: [PATCH] iptables: get the `kill` arguments the right way round Signed-off-by: David Scott --- alpine/packages/iptables/main.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine/packages/iptables/main.ml b/alpine/packages/iptables/main.ml index 31da8c929..23db29202 100644 --- a/alpine/packages/iptables/main.ml +++ b/alpine/packages/iptables/main.ml @@ -65,10 +65,10 @@ let delete ({ proto; dport; ip; port } as p) = let ic = open_in filename in let pid = int_of_string (input_line ic) in logf "Sending SIGTERM to %d" pid; - Unix.kill Sys.sigterm pid + Unix.kill pid Sys.sigterm with e -> logf "delete: failed to remove proxy for %s: %s" filename (Printexc.to_string e); - raise e + () let parse_ip_port ip_port = match Astring.String.cut ~sep:":" ip_port with | None ->