[partition] Mark this use of "mount" as debugging-only

- This call doesn't need to be replaced by the mount helpers
   in the partition service, since it's just debug output telling
   what *is* mounted.
This commit is contained in:
Adriaan de Groot 2019-06-20 17:01:57 +02:00
parent c14239ca30
commit 5a18a6cba9

View File

@ -100,7 +100,7 @@ CreatePartitionTableJob::exec()
cDebug() << "lsblk:\n" << lsblk.readAllStandardOutput(); cDebug() << "lsblk:\n" << lsblk.readAllStandardOutput();
QProcess mount; QProcess mount;
mount.setProgram( "mount" ); mount.setProgram( "mount" ); // Debug output only, not mounting something
mount.setProcessChannelMode( QProcess::MergedChannels ); mount.setProcessChannelMode( QProcess::MergedChannels );
mount.start(); mount.start();
mount.waitForFinished(); mount.waitForFinished();