summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/VyattaConfigOutput.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaConfigOutput.pm b/scripts/VyattaConfigOutput.pm
index 8b43c18..a1e999b 100755
--- a/scripts/VyattaConfigOutput.pm
+++ b/scripts/VyattaConfigOutput.pm
@@ -256,7 +256,7 @@ sub outputNewConfig {
displayChildren(\%rnodes, [ @_ ], '');
}
} else {
- if (defined($config->existsOrig())) {
+ if (defined($config->existsOrig()) && !defined($config->exists())) {
# this is a deleted node
print 'Configuration under "' . (join ' ', @_) . "\" has been deleted\n";
} else {