improve reboot script confirmation message

This commit is contained in:
Daniel Micay 2024-12-12 15:27:38 -05:00
parent 8d59d143c1
commit 97b57a9418

2
reboot
View File

@ -5,7 +5,7 @@ set -o errexit -o nounset -o pipefail
[[ $# -eq 2 ]] || exit 1
input=
read -p "Reboot $1 servers? " input
read -p "Reboot $1 servers with $2 second delay? " input
if [[ $input != yes ]]; then
exit 1
fi