Invoke wall in the older BSD style for macOS compat

pull/5648/head
Thomas Stromberg 2019-10-30 06:34:40 -07:00
parent 96a96a044a
commit bf69daf93b
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ function check_jenkins() {
check_jenkins
logger "cleanup_and_reboot running - may shutdown in 60 seconds"
wall "cleanup_and_reboot running - may shutdown in 60 seconds"
echo "cleanup_and_reboot running - may shutdown in 60 seconds" | wall
sleep 10
check_jenkins
logger "cleanup_and_reboot is happening!"

View File

@ -28,7 +28,7 @@ function check_jenkins() {
check_jenkins
logger "cleanup_and_reboot running - may shutdown in 60 seconds"
wall "cleanup_and_reboot running - may shutdown in 60 seconds"
echo "cleanup_and_reboot running - may shutdown in 60 seconds" | wall
sleep 10
check_jenkins
logger "cleanup_and_reboot is happening!"