Fix waiting for loop devices (#1462150)
Missing change for the previous commit. Resolves: rhbz#1462150
This commit is contained in:
parent
bbfc50b185
commit
aaf1cc3894
@ -150,7 +150,7 @@ def loop_attach(outfile):
|
||||
dev = runcmd_output(["losetup", "--find", "--show", outfile])
|
||||
|
||||
# Sometimes the loop device isn't ready yet, make extra sure before returning
|
||||
loop_waitfor(dev, outfile)
|
||||
loop_waitfor(dev.strip(), outfile)
|
||||
return dev.strip()
|
||||
|
||||
def loop_detach(loopdev):
|
||||
|
Loading…
Reference in New Issue
Block a user