summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmic/utils/fs_related.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mic/utils/fs_related.py b/mic/utils/fs_related.py
index ce3d214..11f6801 100755
--- a/mic/utils/fs_related.py
+++ b/mic/utils/fs_related.py
@@ -994,7 +994,7 @@ def get_loop_device(losetupcmd, lofile):
clean_loop_devices()
# provide an avaible loop device
- rc, out = runner.runtool([losetupcmd, "--find"])
+ rc, out = runner.runtool([losetupcmd, "-f"])
if rc == 0 and out:
loopdev = out.split()[0]
devinst.register(loopdev)