Update bootstrap.sh
This commit is contained in:
parent
a7e8aa6581
commit
b06941b98a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ if ! command -v whiptail >/dev/null 2>&1; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if we’re not running as root, grab root password and re‑exec via su
|
# if we’re not running as root, grab root password and re-exec via su
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
ROOTPW=$(whiptail --title "Authentication Required" \
|
ROOTPW=$(whiptail --title "Authentication Required" \
|
||||||
--passwordbox "Enter root password to elevate this script:" \
|
--passwordbox "Enter root password to elevate this script:" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue