summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-15 18:10:06 +0200
committerErich Eckner <git@eckner.net>2019-07-15 18:15:14 +0200
commitcec60ba5e6aec0bc847b3078aeafe0f7e268f308 (patch)
treeddaaa9a134c36f538dae7b1f7d1dad6e39bff01b
parent15b63cce1a911a84df521f859130e0e631b8a40b (diff)
downloadcheck-kernel-cec60ba5e6aec0bc847b3078aeafe0f7e268f308.tar.xz
check-kernel: find reboot in all kind of PATHs
-rw-r--r--check-kernel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-kernel.in b/check-kernel.in
index 17090d9..10b1c2f 100644
--- a/check-kernel.in
+++ b/check-kernel.in
@@ -147,7 +147,7 @@ else
>&2 printf 'Press enter to reboot ...'
read s
if [ -z "${s}" ]; then
- reboot
+ PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin reboot
fi
else
exit 1