From 8ddb4f6c84b431854a21825f2663d41878adf4ee Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 27 May 2010 17:00:50 +0200 Subject: s4:regshell - don't use negative exit codes --- source4/lib/registry/tools/regshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/registry') diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c index 3a8c62d1ce..d25fee14fd 100644 --- a/source4/lib/registry/tools/regshell.c +++ b/source4/lib/registry/tools/regshell.c @@ -614,7 +614,7 @@ int main(int argc, char **argv) if (ctx->current == NULL) { fprintf(stderr, "Unable to access any of the predefined keys\n"); - return -1; + return 1; } poptFreeContext(pc); -- cgit