summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2012-04-04 19:38:31 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2012-04-04 19:38:31 -0700
commit93a711195d4e4ac2496adce138614ba8817bd19e (patch)
tree2ee75e4f59e1e065a39190d678ceed6a3dc0d879
parentc5165a928750c35fd0b8e17f4ec60ae8ce131da0 (diff)
downloadvyatta-cfg-system-93a711195d4e4ac2496adce138614ba8817bd19e.tar.gz
vyatta-cfg-system-93a711195d4e4ac2496adce138614ba8817bd19e.zip
Fix minor perlcritc warning in vrrp-state
Code before strictures.
-rwxr-xr-xscripts/keepalived/vyatta-vrrp-state.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/keepalived/vyatta-vrrp-state.pl b/scripts/keepalived/vyatta-vrrp-state.pl
index 4ab4834a..83fd80b0 100755
--- a/scripts/keepalived/vyatta-vrrp-state.pl
+++ b/scripts/keepalived/vyatta-vrrp-state.pl
@@ -23,13 +23,12 @@
# **** End License ****
#
-use lib "/opt/vyatta/share/perl5/";
-use Vyatta::Keepalived;
-use POSIX;
-
use strict;
use warnings;
+use lib "/opt/vyatta/share/perl5/";
+use Vyatta::Keepalived;
+use POSIX;
sub vrrp_state_log {
my ($state, $intf, $group) = @_;