summaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
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);