Commit 7c6b6de9 authored by boyska's avatar boyska

FIX #16787 shutdown on resume if usb stick removed

parent 73baaec7
......@@ -62,6 +62,13 @@ do_stop() {
# If the boot_device is not present, shutdown immediately
# This typically happens when the boot device is removed _during_ a suspend
if test -z "$BOOT_DEVICE" || ! test -e "$BOOT_DEVICE"; then
# Assign to QUERY_SELECTOR an option that can be passed as a query selector
# to udevadm info --query commands.
if using_fromiso ; then
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