diff options
-rw-r--r-- | source3/utils/net_rpc_shell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c index e78af142fa..5e0f150371 100644 --- a/source3/utils/net_rpc_shell.c +++ b/source3/utils/net_rpc_shell.c @@ -119,7 +119,9 @@ static bool net_sh_process(struct net_context *c, } } - if (strequal(argv[0], "exit") || strequal(argv[0], "quit")) { + if (strequal(argv[0], "exit") || + strequal(argv[0], "quit") || + strequal(argv[0], "q")) { return false; } |