We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5d6fa commit 13a0ed5Copy full SHA for 13a0ed5
1 file changed
kgo_updates/kgo_update/jules_kgo_update.sh
@@ -4,6 +4,18 @@
4
5
set -e
6
7
+# Set the expected username
8
+EXPECTED_USER="julesadmin"
9
+
10
+# Get the current username
11
+CURRENT_USER=$(whoami)
12
13
+# Check if the script is run by the expected user
14
+if [ "$CURRENT_USER" != "$EXPECTED_USER" ]; then
15
+ echo "Error: This script must be run as $EXPECTED_USER."
16
+ exit 1
17
+fi
18
19
read -rp "KGO VERSION:" KGO_VERSION
20
read -rp "USER NAME:" USER_NAME
21
read -rp "SUITE/RUNX NAME:" SUITE
0 commit comments