Skip to content

Commit

Permalink
Merge pull request #51 from framps/master
Browse files Browse the repository at this point in the history
Fixed mountpoint cleanup issue #50
  • Loading branch information
geerlingguy authored Jan 13, 2025
2 parents deda2cb + 08bb5bb commit d2f8296
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rpi-clone
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This updated code is located in a fork of Bill Wilson's git repository
# at https://github.com/geerlingguy/rpi-clone

version=2.0.23
version=2.0.24

# setup trusted paths for dependancies (like rsync, grub, fdisk, etc)
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Expand Down Expand Up @@ -264,6 +264,10 @@ unmount_list()
then
qecho " Failed to unmount: $dir"
fi
if ! rmdir $dir
then
qecho " Failed to rmdir: $dir"
fi
done
}

Expand Down

0 comments on commit d2f8296

Please sign in to comment.