ignore system drives as live image

This commit is contained in:
2024-08-19 15:35:22 +02:00
parent 4b33fb6fdb
commit 4ff1888333
2 changed files with 7 additions and 1 deletions

View File

@ -665,6 +665,12 @@ bool reHDD::getSystemDrive(string &systemDrive)
break;
}
if (currentLine.ends_with(" /run/overlay/live\n"s))
{
systemDriveFound = true;
break;
}
if (currentLine.ends_with(" /\n"s))
{
systemDriveFound = true;