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
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<!--==================================================================-->
|
<!--==================================================================-->
|
||||||
|
|
||||||
<section xml:id="ssec-relnotes-1.7"><title>Release 1.7 (April 9, 2014)</title>
|
<section xml:id="ssec-relnotes-1.7"><title>Release 1.7 (April 11, 2014)</title>
|
||||||
|
|
||||||
<para>In addition to the usual bug fixes, this release has the
|
<para>In addition to the usual bug fixes, this release has the
|
||||||
following new features:</para>
|
following new features:</para>
|
||||||
|
|
|
@ -18,7 +18,6 @@ fi
|
||||||
|
|
||||||
if [ "$(id -u)" -eq 0 ]; then
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
echo "warning: installing Nix as root is not recommended" >&2
|
echo "warning: installing Nix as root is not recommended" >&2
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "performing a single-user installation of Nix..." >&2
|
echo "performing a single-user installation of Nix..." >&2
|
||||||
|
|
Loading…
Reference in a new issue