From bf69daf93bc10f07a9f0f2268df496109042cad3 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 30 Oct 2019 06:34:40 -0700 Subject: [PATCH] Invoke wall in the older BSD style for macOS compat --- hack/jenkins/cron/cleanup_and_reboot_Darwin.sh | 2 +- hack/jenkins/cron/cleanup_and_reboot_Linux.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/cron/cleanup_and_reboot_Darwin.sh b/hack/jenkins/cron/cleanup_and_reboot_Darwin.sh index 595b5334d..993d6c82f 100755 --- a/hack/jenkins/cron/cleanup_and_reboot_Darwin.sh +++ b/hack/jenkins/cron/cleanup_and_reboot_Darwin.sh @@ -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!" diff --git a/hack/jenkins/cron/cleanup_and_reboot_Linux.sh b/hack/jenkins/cron/cleanup_and_reboot_Linux.sh index f75eeb3c1..b2e067c58 100755 --- a/hack/jenkins/cron/cleanup_and_reboot_Linux.sh +++ b/hack/jenkins/cron/cleanup_and_reboot_Linux.sh @@ -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!" -- GitLab