Commit e5a20926 authored by Andrius Štikonas's avatar Andrius Štikonas

Fix device names spanning two lines.

parent cabe4861
......@@ -180,7 +180,7 @@ Device* SfdiskBackend::scanDevice(const QString& deviceNode)
if ( && kname.exitCode() == 0)
name = kname.output();
name = kname.output().trimmed();
ExternalCommand transport(QStringLiteral("lsblk"), {QStringLiteral("--nodeps"), QStringLiteral("--noheadings"), QStringLiteral("--output"), QStringLiteral("tran"),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment