diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/anaconda-cleanup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/anaconda-cleanup b/scripts/anaconda-cleanup index 4af96c553..42ef1b2ac 100755 --- a/scripts/anaconda-cleanup +++ b/scripts/anaconda-cleanup @@ -78,7 +78,7 @@ for mounted in reversed(open("/proc/mounts").readlines()): # If this is for a live install, unmount any non-nodev filesystem that # isn't related to the live image. if (mountpoint.startswith("/media") or device.startswith("/dev")) and \ - not "live" in mounted: + live_install and not "live" in mounted: os.system("umount %s" % mountpoint) os.system("udevadm control --env=ANACONDA=1") |