diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-11-18 18:33:13 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-11-19 15:18:10 +0100 |
commit | eff48e84d9fde4e98adcdd0ff325b93a8d47947a (patch) | |
tree | 2a2c811fda69520cf68e98277833dc4a1ebf4e98 /scripts/install-multi-user.sh | |
parent | 9cd8cffefc65fe425c6aa07aa3bc67a8eec46087 (diff) |
Apply some shellcheck suggestions
Diffstat (limited to 'scripts/install-multi-user.sh')
-rw-r--r-- | scripts/install-multi-user.sh | 2 |
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. |