From 8ddb4f6c84b431854a21825f2663d41878adf4ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Thu, 27 May 2010 17:00:50 +0200 Subject: [PATCH] s4:regshell - don't use negative exit codes --- source4/lib/registry/tools/regshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c index 3a8c62d1ce8..d25fee14fd3 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); -- 2.11.4.GIT