diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-27 18:26:57 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-27 18:26:57 -0800 |
commit | e9a1afa57971cc00be0d8cb8583b123b6fb7439c (patch) | |
tree | 989e50d774a5b014473f7c6dafb8abfb487ec24e /scripts | |
parent | 0412198b9f339ac66be18e04a73d4366ebb86116 (diff) | |
download | vyatta-cfg-e9a1afa57971cc00be0d8cb8583b123b6fb7439c.tar.gz vyatta-cfg-e9a1afa57971cc00be0d8cb8583b123b6fb7439c.zip |
handle type-less leaf node for "show"
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/VyattaConfigOutput.pm | 2 |
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 { |