From aaaa54644cbf913f64cbce09c7610ec332f2e613 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Mon, 11 Feb 2008 17:25:08 -0800 Subject: more packaging tweaks and bugfixes. --- scripts/vyatta-wanloadbalance.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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(); -- cgit v1.2.3