Use long style command line parameters.

This commit is contained in:
Andrius Štikonas 2016-05-06 22:47:56 +01:00
parent d7f941af58
commit 7e7d9e2a9a
1 changed files with 1 additions and 2 deletions

View File

@ -326,8 +326,7 @@ bool Partition::unmount(Report& report)
ExternalCommand umountCmd(report,
QStringLiteral("umount"),
{ QStringLiteral("-v"),
QStringLiteral("-A"),
{ QStringLiteral("--verbose"),
deviceNode() });
if (!umountCmd.run() || umountCmd.exitCode() != 0)
success = false;