diff options
Diffstat (limited to 'source4/scripting/bin/samba-tool')
-rwxr-xr-x | source4/scripting/bin/samba-tool | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba-tool b/source4/scripting/bin/samba-tool index f05fa3c023..9f06e8daae 100755 --- a/source4/scripting/bin/samba-tool +++ b/source4/scripting/bin/samba-tool @@ -45,7 +45,7 @@ from samba.netcmd.vampire import cmd_vampire class cmd_sambatool(SuperCommand): """samba-tool SuperCommand""" - + subcommands = {} subcommands["dbcheck"] = cmd_dbcheck() subcommands["delegation"] = cmd_delegation() @@ -81,4 +81,5 @@ if __name__ == '__main__': retval = -1 except Exception, e: cmd.show_command_error(e) + retval = 1 sys.exit(retval) |