Skip to content

Commit bff4f2c

Browse files
losetup > loop_dev
1 parent 0bb47c6 commit bff4f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/inputstreamhelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def _cleanup(self):
421421
cmd = ['umount', self._mnt_path()]
422422
subprocess.check_call(cmd)
423423
self._mounted = False
424-
if self._losetup:
424+
if self._loop_dev:
425425
cmd = ['losetup', '-d', config.LOOP_DEV]
426426
subprocess.check_call(cmd)
427427
self._loop_dev = False

0 commit comments

Comments
 (0)