diff --git a/arch-needs-restart.sh b/arch-needs-restart.sh index c7b4949..a6237f5 100755 --- a/arch-needs-restart.sh +++ b/arch-needs-restart.sh @@ -29,4 +29,7 @@ if [[ $active_kernel != $current_kernel ]]; then echo "# KERNEL: reboot required" rc=0 fi -exit $rc + +if [[ $rc == '1' ]]; then + echo "# No reboot required" +fi