summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/set.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/set.c b/src/set.c
index 4308d45..44f1263 100644
--- a/src/set.c
+++ b/src/set.c
@@ -166,7 +166,9 @@ int main(int argc, char **argv)
/* non tag matches are OK by definition */
/* do we already have it? */
if (lstat(m_path.path, &statbuf) >= 0) {
- bye("Already exists %s", m_path.path + strlen(get_mdirp()));
+ printf("Node [%s] already exists\n", m_path.path + strlen(get_mdirp()));
+ /* not an error */
+ exit(0);
}
/* else */
/* prevent value node without actual value */