From b162cc2c05aca6f3eded6484d13bd98f224a6f26 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 28 Jan 2009 15:49:59 -0800 Subject: Fix buggy shell script shell script was missing 'then' and would always cause error message. --- scripts/dhcp/dhcp-wanlb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/dhcp/dhcp-wanlb b/scripts/dhcp/dhcp-wanlb index 15fc98d..07f5ba3 100644 --- a/scripts/dhcp/dhcp-wanlb +++ b/scripts/dhcp/dhcp-wanlb @@ -1,4 +1,4 @@ pid=/var/run/vyatta/wlb.pid -if [ -f $pid ] +if [ -f $pid ]; then kill -s SIGUSR2 $( cat $pid ) 2>/dev/null fi -- cgit v1.2.3