summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools/ldbsearch.c')
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c
index 327feb28ef..45412f6104 100644
--- a/source4/lib/ldb/tools/ldbsearch.c
+++ b/source4/lib/ldb/tools/ldbsearch.c
@@ -86,8 +86,8 @@ static void usage(void)
}
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;