summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-03-01 09:20:40 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-03-01 09:20:40 -0800
commit62370cabf2dd559e6b5220a44e546d294de3b2a9 (patch)
tree5f694938029e55fe07e9db6beac06cc84eeeecf5 /scripts
parent0294f753e1b788b115ec75e660ef10212a0128b2 (diff)
downloadvyatta-cfg-system-62370cabf2dd559e6b5220a44e546d294de3b2a9.tar.gz
vyatta-cfg-system-62370cabf2dd559e6b5220a44e546d294de3b2a9.zip
Fix breakage from previous cleanup commit.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/keepalived/vyatta-clear-vrrp.pl3
1 files changed, 1 insertions, 2 deletions
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;