git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89c682c
)
s3:mount.cifs: don't error exit on explicitly requested help...
author
Michael Adam
<obnox@samba.org>
Tue, 24 Feb 2009 15:57:30 +0000
(16:57 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Feb 2009 15:59:54 +0000
(16:59 +0100)
Michael
source3/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source3/client/mount.cifs.c
b/source3/client/mount.cifs.c
index a73660958055f72559c2edcb32a8ff44cd0ca95c..641584947ff6b62c9e6ed7b4384945d8e3d85884 100644
(file)
--- 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;