mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
sh_ts100_linux.sh: Fix 'Device or resource busy' errors due to rmdir without umounting
This commit is contained in:
@@ -69,7 +69,7 @@ mount_ts100() {
|
||||
}
|
||||
|
||||
umount_ts100() {
|
||||
if ! mountpoint "$DIR_TMP" > /dev/null && sudo umount "$DIR_TMP"; then
|
||||
if ! (mountpoint "$DIR_TMP" > /dev/null && sudo umount "$DIR_TMP"); then
|
||||
echo "Failed to unmount $DIR_TMP"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user