summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rwxr-xr-xsource3/client/mount.cifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index 7ab17a2b02..43b20e9d50 100755
--- a/source3/client/mount.cifs.c
+++ b/source3/client/mount.cifs.c
@@ -501,7 +501,7 @@ int main(int argc, char ** argv)
ipaddr = parse_server(share_name);
/* if(share_name == NULL)
return 1; */
- if (parse_options(strdup(orgoptions)))
+ if (orgoptions && parse_options(strdup(orgoptions)))
return 1;
if(got_user == 0)