diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-01-28 15:49:59 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-01-28 15:49:59 -0800 |
commit | b162cc2c05aca6f3eded6484d13bd98f224a6f26 (patch) | |
tree | 6a1579c40c1413f792d72c95dea6baee4ddf2e41 /scripts | |
parent | 792e6b230d8a1333f41510534928c4d2f3587649 (diff) | |
download | vyatta-wanloadbalance-b162cc2c05aca6f3eded6484d13bd98f224a6f26.tar.gz vyatta-wanloadbalance-b162cc2c05aca6f3eded6484d13bd98f224a6f26.zip |
Fix buggy shell script
shell script was missing 'then' and would always cause
error message.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dhcp/dhcp-wanlb | 2 |
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 |