don't require mount points to exist for unmounting or else deactivating swap
never works. svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1050111
This commit is contained in:
parent
b13d443899
commit
64edd529e0
|
@ -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