The branch, master has been updated
       via  5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8 (commit)
      from  a0b1968167c36c345711a98c65c3974590b1ce6a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8
Author: Günther Deschner <[email protected]>
Date:   Wed Sep 2 21:09:13 2009 +0200

    s3-net: allow to exit "net rpc sh" with "q" as well.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/net_rpc_shell.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c
index e78af14..5e0f150 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;
        }
 


-- 
Samba Shared Repository

Reply via email to