summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Config.pm')
-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) {