git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b1968
)
s3-net: allow to exit "net rpc sh" with "q" as well.
author
Günther Deschner
<gd@samba.org>
Wed, 2 Sep 2009 19:09:13 +0000
(21:09 +0200)
committer
Günther Deschner
<gd@samba.org>
Wed, 2 Sep 2009 21:19:20 +0000
(23:19 +0200)
Guenther
source3/utils/net_rpc_shell.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_shell.c
b/source3/utils/net_rpc_shell.c
index e78af142fa15b6f72606c8f37734925407276b93..5e0f1503712f6a4660ef8f57932b376a216a559b 100644
(file)
--- 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;
}