diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-07-01 17:12:44 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-07-01 17:12:44 -0700 |
commit | 797bf065bf8aa04cf857ad3bb53b79d48a639d88 (patch) | |
tree | f3df96043ee9dd3fc2af94f3c03b6acf3da46f38 | |
parent | 23c2cf67eda71cd15a94f1a28a9e699ea45cbc3e (diff) | |
parent | f1a011418dd1c6067655a5293ac0a943a2137924 (diff) | |
download | vyatta-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.c | 4 |
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); |