mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Apply some shellcheck suggestions
This commit is contained in:
parent
9cd8cffefc
commit
eff48e84d9
5 changed files with 13 additions and 13 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue