diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-05 11:34:51 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-05 11:34:51 -0800 |
commit | 43c8d9ed9b30c21f3484665b174974f7e74d4f1d (patch) | |
tree | cbd1563bbabd72747d71e09437958eb5a5ec3730 /lib/Vyatta/Config.pm | |
parent | 9ebbcfd470073c5aa97aace9b94d392d21354846 (diff) | |
download | vyatta-cfg-43c8d9ed9b30c21f3484665b174974f7e74d4f1d.tar.gz vyatta-cfg-43c8d9ed9b30c21f3484665b174974f7e74d4f1d.zip |
Fix boolean error
Earlier commit d8922b367e5d45dc8bb2b5dfba59d9473c3403e8 broke
isChanged.
Diffstat (limited to 'lib/Vyatta/Config.pm')
-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 f929e6a..754563c 100755 --- a/lib/Vyatta/Config.pm +++ b/lib/Vyatta/Config.pm @@ -323,7 +323,7 @@ sub isChanged { my $filepath = "$self->{_changes_only_dir_base}$self->{_current_dir_level}/$node"; # if the node exists in the change dir, it's modified. - return ( ! -e $filepath); + return (-e $filepath); } ## isChangedOrDeleted("node") |