diff options
Diffstat (limited to 'linhes/linhes-system/lh_restart_needed.sh')
-rwxr-xr-x | linhes/linhes-system/lh_restart_needed.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linhes/linhes-system/lh_restart_needed.sh b/linhes/linhes-system/lh_restart_needed.sh index c939a28..2db8a2d 100755 --- a/linhes/linhes-system/lh_restart_needed.sh +++ b/linhes/linhes-system/lh_restart_needed.sh @@ -32,4 +32,8 @@ if [[ $active_kernel != $current_kernel ]]; then echo "# KERNEL: reboot required" rc=0 fi + +if [[ $rc == 1 ]]; then + echo "No reboot needed." +fi exit $rc |