summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils/mount.glusterfs.in
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/utils/mount.glusterfs.in')
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index c5cba10c41b..e41f1ad1ea0 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -267,6 +267,11 @@ start_glusterfs ()
cmd_line=$(echo "$cmd_line $mount_point");
err=0;
$cmd_line;
+ if [ $? -ne 0 ]; then
+ echo "Mount failed. Please check the log file for more details."
+ exit 1;
+ fi
+
inode=$( ${getinode} $mount_point 2>/dev/null);