diff options
author | Michael Adam <obnox@samba.org> | 2009-02-24 16:57:30 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-24 16:59:54 +0100 |
commit | 6e16c5eed59bb3539af365d30e9ec35012b8c8ac (patch) | |
tree | e4b47f70c571afd0bcd9c2c7712affb55d5652d0 /source3 | |
parent | 89c682c4185acbf5de16cb4132e33ea825527f41 (diff) | |
download | samba-6e16c5eed59bb3539af365d30e9ec35012b8c8ac.tar.gz samba-6e16c5eed59bb3539af365d30e9ec35012b8c8ac.tar.bz2 samba-6e16c5eed59bb3539af365d30e9ec35012b8c8ac.zip |
s3:mount.cifs: don't error exit on explicitly requested help...
Michael
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/mount.cifs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index a736609580..641584947f 100644 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -179,7 +179,6 @@ static void mount_cifs_usage(void) printf("\n\t%s -V\n",thisprogram); SAFE_FREE(mountpassword); - exit(EX_USAGE); } /* caller frees username if necessary */ @@ -1102,7 +1101,7 @@ int main(int argc, char ** argv) case '?': case 'h': /* help */ mount_cifs_usage (); - exit(EX_USAGE); + exit(0); case 'n': ++nomtab; break; |