mirror of
https://github.com/gryf/mkinitramfs.git
synced 2026-11-25 09:17:00 +01:00
Changed poweroff command to reboot.
This commit is contained in:
1 parent
c382ea32eb
commit
bc3bd6c090
1 file changed
+1
-1
+1
-1
@@ -161,7 +161,7 @@ done
|
|||||||
if [ -z "${DEVICE}" ]; then
|
if [ -z "${DEVICE}" ]; then
|
||||||
echo "No LUKS device found to boot from! Giving up."
|
echo "No LUKS device found to boot from! Giving up."
|
||||||
sleep 3
|
sleep 3
|
||||||
poweroff -f
|
reboot -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ret=1
|
ret=1
|
||||||
|
|||||||
Reference in new issue
Block a user