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:
Volker Lanz 2009-11-16 16:59:25 +00:00
parent b13d443899
commit 64edd529e0
1 changed files with 1 additions and 1 deletions

View File

@ -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;