summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-27 17:00:50 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-28 10:04:45 +0200
commit8ddb4f6c84b431854a21825f2663d41878adf4ee (patch)
tree1c33b028d58866615b3ad7bc73c0582e21f20e1c /source4/lib/registry/tools
parent3318459fdc2df686892f4257dca709ac66784e82 (diff)
downloadsamba-8ddb4f6c84b431854a21825f2663d41878adf4ee.tar.gz
samba-8ddb4f6c84b431854a21825f2663d41878adf4ee.tar.bz2
samba-8ddb4f6c84b431854a21825f2663d41878adf4ee.zip
s4:regshell - don't use negative exit codes
Diffstat (limited to 'source4/lib/registry/tools')
-rw-r--r--source4/lib/registry/tools/regshell.c2
1 files changed, 1 insertions, 1 deletions
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);