summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbadd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools/ldbadd.c')
-rw-r--r--source4/lib/ldb/tools/ldbadd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/ldbadd.c b/source4/lib/ldb/tools/ldbadd.c
index 446c0d80f9..15febb76e7 100644
--- a/source4/lib/ldb/tools/ldbadd.c
+++ b/source4/lib/ldb/tools/ldbadd.c
@@ -101,8 +101,8 @@ static int process_file(struct ldb_context *ldb, FILE *f)
}
if (!ldb_url) {
- fprintf(stderr, "You must specify a ldb URL\n");
- exit(1);
+ fprintf(stderr, "You must specify a ldb URL\n\n");
+ usage();
}
argc -= optind;