ignore system drives as live image
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user