From 84b271b34455dfb0f47af5c3927aa84a81c9f808 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 4 Apr 2021 07:34:05 +0200 Subject: [PATCH] fix: [host] ensure to use the full ``kill`` binary In some circumstances a call to ``kill`` will trigger the builtin of your shell and could not support given options. Signed-off-by: Valentin Lab --- precise/host/hooks/install.d/80-dns-waterfall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/precise/host/hooks/install.d/80-dns-waterfall.sh b/precise/host/hooks/install.d/80-dns-waterfall.sh index 72671e4..283ac41 100755 --- a/precise/host/hooks/install.d/80-dns-waterfall.sh +++ b/precise/host/hooks/install.d/80-dns-waterfall.sh @@ -74,7 +74,7 @@ cat < /etc/logrotate.d/dnsmasq compress postrotate - kill -s SIGUSR2 "\$(cat /var/run/dnsmasq/dnsmasq.pid)" + /bin/kill -s SIGUSR2 "\$(cat /var/run/dnsmasq/dnsmasq.pid)" endscript } @@ -90,7 +90,7 @@ cat < /etc/logrotate.d/lxc-dnsmasq compress postrotate - kill -s SIGUSR2 "\$(cat /var/run/lxc/dnsmasq.pid)" + /bin/kill -s SIGUSR2 "\$(cat /var/run/lxc/dnsmasq.pid)" endscript }