diff options
author | Günther Deschner <gd@samba.org> | 2009-09-02 21:09:13 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-02 23:19:20 +0200 |
commit | 5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8 (patch) | |
tree | 078a6f8169343a701324df8ea05d113fa883d7f3 /source3/utils | |
parent | a0b1968167c36c345711a98c65c3974590b1ce6a (diff) | |
download | samba-5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8.tar.gz samba-5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8.tar.bz2 samba-5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8.zip |
s3-net: allow to exit "net rpc sh" with "q" as well.
Guenther
Diffstat (limited to 'source3/utils')
-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; } |