Commit 8dbb623a authored by Tails developers's avatar Tails developers
Browse files

Hiding possible error messages makes little sense here.

Especially when running under "set -e", we want users to be able to report
something useful.
parent 5aa12461
...@@ -53,7 +53,7 @@ DEV_TYPE=$(udevadm info --query property --path "${DEV_PATH}" | grep -w '^ID_TYP ...@@ -53,7 +53,7 @@ DEV_TYPE=$(udevadm info --query property --path "${DEV_PATH}" | grep -w '^ID_TYP
# Let's be sure the CDRom can be ejected by pressing the button # Let's be sure the CDRom can be ejected by pressing the button
if [ "$DEV_TYPE" = "cd" ]; then if [ "$DEV_TYPE" = "cd" ]; then
eject -i off "${DEV_PATH}" 2>&1 >/dev/null eject -i off "${DEV_PATH}"
fi fi
# Start udev-watchdog and stop on clean exit. # 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