summaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
authorMark O'Brien <mobrien@firebolt.vyatta.com>2008-07-09 13:43:37 -0700
committerMark O'Brien <mobrien@firebolt.vyatta.com>2008-07-09 13:43:37 -0700
commit8c1039fa5e8d8284f71923ee719d3bfa4f6a2fe7 (patch)
treeeea1c778ce0b1e0cb192071ed697f0a68de252af /src/delete.c
parent94c402a24ed5a5a3e9b6aeaabc47446efb1a7a37 (diff)
parent42d6c942800e2273b77ea92371ffdcb3f183163f (diff)
downloadvyatta-cfg-8c1039fa5e8d8284f71923ee719d3bfa4f6a2fe7.tar.gz
vyatta-cfg-8c1039fa5e8d8284f71923ee719d3bfa4f6a2fe7.zip
Merge branch 'hollywood' of git:/git/vyatta-cfg into hollywood
Diffstat (limited to 'src/delete.c')
-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);