summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-07-01 17:12:44 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-07-01 17:12:44 -0700
commit797bf065bf8aa04cf857ad3bb53b79d48a639d88 (patch)
treef3df96043ee9dd3fc2af94f3c03b6acf3da46f38
parent23c2cf67eda71cd15a94f1a28a9e699ea45cbc3e (diff)
parentf1a011418dd1c6067655a5293ac0a943a2137924 (diff)
downloadvyatta-cfg-797bf065bf8aa04cf857ad3bb53b79d48a639d88.tar.gz
vyatta-cfg-797bf065bf8aa04cf857ad3bb53b79d48a639d88.zip
Merge branch 'hollywood' of http://git.vyatta.com/vyatta-cfg into hollywood
-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);