diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-04 19:49:38 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-04 19:49:38 -0800 |
commit | b77e3bd392576118c2b2ced757590472095215c2 (patch) | |
tree | cab563b1f9e58d7846c9161265a98df067b602e0 | |
parent | ae26c25816fe0b68890da70b276cbfc064a7584f (diff) | |
download | vyatta-cfg-b77e3bd392576118c2b2ced757590472095215c2.tar.gz vyatta-cfg-b77e3bd392576118c2b2ced757590472095215c2.zip |
Fix problem from earlier FILE handle removal in Config.pm
Need 'my'
-rwxr-xr-x | lib/Vyatta/Config.pm | 2 |
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) { |