Commit efa04bda authored by Tails developers's avatar Tails developers
Browse files

udev-watchdog-wrapper: eject was passed an empty device which made it and the

whole script fail.
parent 1e69a291
......@@ -69,7 +69,7 @@ DEV_TYPE="${DEV_TYPE_LINE#*=}"
# Let's be sure the CDRom can be ejected by pressing the button
if [ "$DEV_TYPE" = "cd" ]; then
eject -i off "${DEV_PATH}"
eject -i off "${BOOT_DEVICE}"
# Start udev-watchdog and stop on clean exit.
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