Don't barf when installing as root
This commit is contained in:
parent
b0a09a6f32
commit
924e19341a
2 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ fi
|
|||
|
||||
if [ "$(id -u)" -eq 0 ]; then
|
||||
echo "warning: installing Nix as root is not recommended" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "performing a single-user installation of Nix..." >&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue