From 10751cadb895d644fd868a5abd1b3d65fbd14c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 12 Aug 2011 19:47:07 +0000 Subject: [PATCH] * Applied patch from luroh as part of #7433 -- sorry for the long delay! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42626 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/fs_shell/fuse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/fs_shell/fuse.cpp b/src/tools/fs_shell/fuse.cpp index e80798e3ad..e9b09f8c1f 100644 --- a/src/tools/fs_shell/fuse.cpp +++ b/src/tools/fs_shell/fuse.cpp @@ -602,6 +602,9 @@ main(int argc, char* argv[]) if (fuse_opt_parse(&fuseArgs, &config, fsOptions, process_options) < 0) return 1; + if (!config.mntPoint) + print_usage_and_exit(fuseArgs.argv[0]); + if (!modules[0]) { fprintf(stderr, "Error: Couldn't find FS module!\n"); return 1;