s3-net: allow to exit "net rpc sh" with "q" as well.
[ira/wip.git] / source3 / utils / net_rpc_shell.c
index e78af142fa15b6f72606c8f37734925407276b93..5e0f1503712f6a4660ef8f57932b376a216a559b 100644 (file)
@@ -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;
        }