wkplhc commited on
Commit
adb9c68
1 Parent(s): ca0b707

Update src/entry.sh

Browse files
Files changed (1) hide show
  1. src/entry.sh +5 -0
src/entry.sh CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  #!/usr/bin/env bash
2
  set -Eeuo pipefail
3
 
 
1
+ if [ "$(id -u)" -ne 0 ]; then
2
+ echo "Script must be executed with root privileges."
3
+ exit 1
4
+ fi
5
+
6
  #!/usr/bin/env bash
7
  set -Eeuo pipefail
8