forked from lix-project/lix
Merge pull request #910 from Gabriel439/patch-1
Fix `??` in Nix warning message
This commit is contained in:
commit
d593625d05
|
@ -25,7 +25,7 @@ echo "performing a single-user installation of Nix..." >&2
|
||||||
|
|
||||||
if ! [ -e $dest ]; then
|
if ! [ -e $dest ]; then
|
||||||
cmd="mkdir -m 0755 $dest && chown $USER $dest"
|
cmd="mkdir -m 0755 $dest && chown $USER $dest"
|
||||||
echo "directory $dest does not exist; creating it by running ‘$cmd’ using sudo" >&2
|
echo "directory $dest does not exist; creating it by running '$cmd' using sudo" >&2
|
||||||
if ! sudo sh -c "$cmd"; then
|
if ! sudo sh -c "$cmd"; then
|
||||||
echo "$0: please manually run ‘$cmd’ as root to create $dest" >&2
|
echo "$0: please manually run ‘$cmd’ as root to create $dest" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue