From 5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Sep 2009 21:09:13 +0200 Subject: s3-net: allow to exit "net rpc sh" with "q" as well. Guenther --- source3/utils/net_rpc_shell.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit