summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-04 19:49:38 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-04 19:49:38 -0800
commitb77e3bd392576118c2b2ced757590472095215c2 (patch)
treecab563b1f9e58d7846c9161265a98df067b602e0 /lib/Vyatta
parentae26c25816fe0b68890da70b276cbfc064a7584f (diff)
downloadvyatta-cfg-b77e3bd392576118c2b2ced757590472095215c2.tar.gz
vyatta-cfg-b77e3bd392576118c2b2ced757590472095215c2.zip
Fix problem from earlier FILE handle removal in Config.pm
Need 'my'
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-xlib/Vyatta/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Config.pm b/lib/Vyatta/Config.pm
index e64e6e4..acd695f 100755
--- a/lib/Vyatta/Config.pm
+++ b/lib/Vyatta/Config.pm
@@ -428,7 +428,7 @@ sub returnOrigPlusComValues {
#now need to compare this against what I've done
my $com_file = "/tmp/.changes";
if (-e $com_file) {
- open $file, "<", $com_file;
+ open my $file, "<", $com_file;
foreach my $line (<$file>) {
my @node = split " ", $line; #split on space
if (index($node[1],$dir_path) != -1) {