diff --git a/rc.in b/rc.in index 22b7a7f..0e1668e 100644 --- a/rc.in +++ b/rc.in @@ -129,7 +129,7 @@ rc.boot() { } rc.halt() { - if type -P halt; then + if type -P halt &>/dev/null; then function rc.halt_poweroff { halt -p; } function rc.halt_reboot { halt -r; } elif (( $(