Commit 69f4122c authored by Mattia Rizzolo's avatar Mattia Rizzolo

change the expected username

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent e0f0ae5f
...@@ -5,8 +5,8 @@ set -euo pipefail ...@@ -5,8 +5,8 @@ set -euo pipefail
base="$( cd "$(dirname "${BASH_SOURCE[0]}")" && pwd )" base="$( cd "$(dirname "${BASH_SOURCE[0]}")" && pwd )"
# Allow this script to be run only by ubuntu-it # Allow this script to be run only by ubuntu-it
if [[ "$(whoami)" != "ubuntu-it" ]]; then if [[ "$(whoami)" != "ubuntu-it-web" ]]; then
echo "Error: this script must be executed by the ubuntu-it user" echo "Error: this script must be executed by the ubuntu-it-web user"
exit 1 exit 1
fi fi
......
...@@ -8,8 +8,8 @@ set -euo pipefail ...@@ -8,8 +8,8 @@ set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
# Allow this script to be run only by ubuntu-it # Allow this script to be run only by ubuntu-it
if [[ "$(whoami)" != "ubuntu-it" ]]; then if [[ "$(whoami)" != "ubuntu-it-web" ]]; then
echo "Error: this script must be executed by the ubuntu-it user" echo "Error: this script must be executed by the ubuntu-it-web user"
exit 1 exit 1
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment