backport r1050111: fix unmounting swap
svn path=/branches/partitionmanager/1.0/partitionmanager/; revision=1050112
This commit is contained in:
parent
36e6a319ca
commit
b48da5c7a0
|
@ -296,7 +296,7 @@ bool Partition::mount(Report& report)
|
|||
*/
|
||||
bool Partition::unmount(Report& report)
|
||||
{
|
||||
if (!isMounted() || mountPoints().size() == 0)
|
||||
if (!isMounted())
|
||||
return false;
|
||||
|
||||
bool success = true;
|
||||
|
|
Loading…
Reference in New Issue