Skip to content

Commit

Permalink
Removing mountpoint if no persistence layer is found on a device.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaudenz authored and daniel-baumann committed Sep 26, 2012
1 parent b7f0254 commit 2d6f480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/boot/9990-misc-helpers.sh
Expand Up @@ -911,7 +911,9 @@ probe_for_file_name ()
then
echo ${ret}
else
# unmount and remove mountpoint
umount ${backing} > /dev/null 2>&1 || true
rmdir ${backing} > /dev/null 2>&1 || true
fi
}

Expand Down

0 comments on commit 2d6f480

Please sign in to comment.