From 40d0203cdb9b8568269630634abe2ccd2cef56f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 23 Jan 2006 00:39:32 +0000 Subject: [PATCH] Fixed bug #92. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16041 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/mountvolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/mountvolume.cpp b/src/bin/mountvolume.cpp index 34b0f1a98a..d8ccf3d31d 100644 --- a/src/bin/mountvolume.cpp +++ b/src/bin/mountvolume.cpp @@ -117,7 +117,7 @@ struct MountVisitor : public BDiskDeviceVisitor { else if (!silent) fprintf(stderr, "Volume `%s' already mounted.\n", name); } else if (mountAll) { - mount = true; + mount = !partition->IsMounted(); } else if (mountBFS && type != NULL && strcmp(type, kPartitionTypeBFS) == 0) { mount = true;