diff options
-rw-r--r-- | shutdown.d/90-kexec.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdown.d/90-kexec.sh b/shutdown.d/90-kexec.sh index 8b3eb93..62487f9 100644 --- a/shutdown.d/90-kexec.sh +++ b/shutdown.d/90-kexec.sh @@ -1,5 +1,5 @@ if [ -z "$VIRTUALIZATION" ]; then - if [ -e /run/runit/reboot ] && command -v kexec >/dev/null; then + if [ -x /run/runit/reboot ] && command -v kexec >/dev/null; then msg "Triggering kexec..." kexec -e 2>/dev/null # not reached when kexec was successful. |