From 62370cabf2dd559e6b5220a44e546d294de3b2a9 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Sun, 1 Mar 2009 09:20:40 -0800 Subject: Fix breakage from previous cleanup commit. --- scripts/keepalived/vyatta-clear-vrrp.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/keepalived') diff --git a/scripts/keepalived/vyatta-clear-vrrp.pl b/scripts/keepalived/vyatta-clear-vrrp.pl index a22b4f14..38d50149 100644 --- a/scripts/keepalived/vyatta-clear-vrrp.pl +++ b/scripts/keepalived/vyatta-clear-vrrp.pl @@ -256,8 +256,7 @@ if ($action eq "clear_master") { Vyatta::Keepalived::vrrp_log("vrrp clear_master $vrrp_intf $vrrp_group"); # should add a file lock - local($/, *FILE); # slurp mode - + local($/); # slurp mode open my $f, '<', $conf_file or die "Couldn't open $conf_file\n"; my $conf = <$f>; close $f; -- cgit v1.2.3