aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-multi-user.sh
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-18 18:33:13 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-19 15:18:10 +0100
commiteff48e84d9fde4e98adcdd0ff325b93a8d47947a (patch)
tree2a2c811fda69520cf68e98277833dc4a1ebf4e98 /scripts/install-multi-user.sh
parent9cd8cffefc65fe425c6aa07aa3bc67a8eec46087 (diff)
Apply some shellcheck suggestions
Diffstat (limited to 'scripts/install-multi-user.sh')
-rw-r--r--scripts/install-multi-user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh
index eba894799..0dba36f51 100644
--- a/scripts/install-multi-user.sh
+++ b/scripts/install-multi-user.sh
@@ -818,7 +818,7 @@ main() {
# can fail faster in this case. Sourcing install-darwin... now runs
# `touch /` to detect Read-only root, but it could update times on
# pre-Catalina macOS if run as root user.
- if [ $EUID -eq 0 ]; then
+ if [ "$EUID" -eq 0 ]; then
failure <<EOF
Please do not run this script with root privileges. I will call sudo
when I need to.