We don't need the dash because ExternalCommand already does the piping.
This commit is contained in:
parent
c41f843aff
commit
3f10c8e2d5
|
@ -94,8 +94,7 @@ bool luks::create(Report& report, const QString& deviceNode) const
|
|||
args.push_back({ QStringLiteral("-s"),
|
||||
QStringLiteral("512"),
|
||||
QStringLiteral("luksFormat"),
|
||||
deviceNode,
|
||||
QStringLiteral("-") });
|
||||
deviceNode });
|
||||
|
||||
ExternalCommand createCmd(commands, args);
|
||||
if (!(createCmd.run(-1) && createCmd.exitCode() == 0))
|
||||
|
|
Loading…
Reference in New Issue