summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-11 17:25:08 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-11 17:25:08 -0800
commitaaaa54644cbf913f64cbce09c7610ec332f2e613 (patch)
treeb853c4e9dea200498efbd2f14b06704bea269dde /scripts
parent0026eab14fd397680d5ed653bac1bc5b09e9c8b1 (diff)
downloadvyatta-wanloadbalance-aaaa54644cbf913f64cbce09c7610ec332f2e613.tar.gz
vyatta-wanloadbalance-aaaa54644cbf913f64cbce09c7610ec332f2e613.zip
more packaging tweaks and bugfixes.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-wanloadbalance.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl
index 20352a5..17371ca 100644
--- a/scripts/vyatta-wanloadbalance.pl
+++ b/scripts/vyatta-wanloadbalance.pl
@@ -163,8 +163,8 @@ my $conf_file = '/var/load-balance/wlb.conf';
my $conf_lck_file = '/var/load-balance/wlb.conf.lck';
#open file
-open FILE, "<$conf_file";
-open FILE_LCK, "+>$conf_lck_file";
+open(FILE, "<$conf_file") or die "Can't open wlb config file";
+open(FILE_LCK, "+>$conf_lck_file") or die "Can't open wlb lock file";
write_health();