backport r1050111: fix unmounting swap

svn path=/branches/partitionmanager/1.0/partitionmanager/; revision=1050112
This commit is contained in:
Volker Lanz 2009-11-16 17:03:55 +00:00
parent 36e6a319ca
commit b48da5c7a0
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;