mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-02 18:40:48 -05:00
improve reboot script confirmation message
This commit is contained in:
parent
8d59d143c1
commit
97b57a9418
2
reboot
2
reboot
@ -5,7 +5,7 @@ set -o errexit -o nounset -o pipefail
|
|||||||
[[ $# -eq 2 ]] || exit 1
|
[[ $# -eq 2 ]] || exit 1
|
||||||
|
|
||||||
input=
|
input=
|
||||||
read -p "Reboot $1 servers? " input
|
read -p "Reboot $1 servers with $2 second delay? " input
|
||||||
if [[ $input != yes ]]; then
|
if [[ $input != yes ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user