Don't barf when installing as root

This commit is contained in:
Eelco Dolstra 2014-04-10 23:42:48 +02:00
parent b0a09a6f32
commit 924e19341a
2 changed files with 1 additions and 2 deletions

View file

@ -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