Fix a typo: mount->umount.

This commit is contained in:
Andrius Štikonas 2016-05-06 14:34:40 +01:00
parent 6013b5887c
commit 3ede101167
1 changed files with 2 additions and 2 deletions

View File

@ -434,8 +434,8 @@ bool luks::unmount(const QString& deviceNode)
}
else {
ExternalCommand unmountCmd(
QStringLiteral("mount"),
{ QStringLiteral("-v"), QStringLiteral("-A"), mapperNode });
QStringLiteral("umount"),
{ QStringLiteral("--verbose"), mapperNode });
if (unmountCmd.run() && unmountCmd.exitCode() == 0)
{
m_isMounted = false;