From 43c8d9ed9b30c21f3484665b174974f7e74d4f1d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 5 Feb 2009 11:34:51 -0800 Subject: Fix boolean error Earlier commit d8922b367e5d45dc8bb2b5dfba59d9473c3403e8 broke isChanged. --- lib/Vyatta/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3