Commit 5aa12461 authored by Tails developers's avatar Tails developers
Browse files

Convert last occurence of mountpoint to "udevadm info --device-id-of-file".

parent 9a65fed5
......@@ -34,7 +34,7 @@ do_stop() {
### Main
MOUNTED_IMG_DEV_NUMBER="$(mountpoint -d /live/image)"
MOUNTED_IMG_DEV_NUMBER="$(udevadm info --device-id-of-file=/live/image)"
if is_loop_device "$MOUNTED_IMG_DEV_NUMBER" ; then
# Notes:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment