summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-01-28 15:49:59 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-01-28 15:49:59 -0800
commitb162cc2c05aca6f3eded6484d13bd98f224a6f26 (patch)
tree6a1579c40c1413f792d72c95dea6baee4ddf2e41
parent792e6b230d8a1333f41510534928c4d2f3587649 (diff)
downloadvyatta-wanloadbalance-b162cc2c05aca6f3eded6484d13bd98f224a6f26.tar.gz
vyatta-wanloadbalance-b162cc2c05aca6f3eded6484d13bd98f224a6f26.zip
Fix buggy shell script
shell script was missing 'then' and would always cause error message.
-rw-r--r--scripts/dhcp/dhcp-wanlb2
1 files changed, 1 insertions, 1 deletions
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