Skip to content
  • Nikos Skalkotos's avatar
    Retry cleanup commands if they fail · f3845095
    Nikos Skalkotos authored
    Add a new try_fail_repeat function that wraps cleanup system commands
    and retries them if they fail. There are cases where commands like
    dmsetup, umount and losetup -d may fail with device is busy. In most
    of the cases, sleeping for halve a second and retrying does the job.
    f3845095