summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-07-01 13:56:24 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-07-01 13:56:24 -0700
commit89690fab7e1b49ab8a97a5c9907982bec45e85d5 (patch)
tree8cf5f5cf9e50b4c3c21f0ce0434d5f53cb90a374 /src
parent051d4e71597d7a8b947a9a9195167d63dc5dec50 (diff)
downloadvyatta-cfg-89690fab7e1b49ab8a97a5c9907982bec45e85d5.tar.gz
vyatta-cfg-89690fab7e1b49ab8a97a5c9907982bec45e85d5.zip
fix for bug 3377.
Diffstat (limited to 'src')
-rw-r--r--src/delete.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/delete.c b/src/delete.c
index 9bdb3ed..bb2c987 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -291,8 +291,10 @@ int main(int argc, char **argv)
if (status != VTWERR_OK)
bye("Corrupted old value ---- \n%s\n-----\n", cp);
res = val_cmp(&new_value, &old_value, IN_COND);
- if (!res)
+ if (!res) {
+ fprintf(out_stream, "%s is not a configured value\n", new_value.val);
bye("Not in multivalue");
+ }
touch();
if (old_value.cnt) {
push_path(&m_path, VAL_NAME);