nixos-install: fix error message consistency
The test is for path A but the error message says path B. Fix it.
This commit is contained in:
parent
204f5a3f4c
commit
ec13407807
@ -30,7 +30,7 @@ if ! grep -F -q " $mountPoint " /proc/mounts; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! test -e "$mountPoint/$NIXOS_CONFIG"; then
|
if ! test -e "$mountPoint/$NIXOS_CONFIG"; then
|
||||||
echo "configuration file $NIXOS_CONFIG doesn't exist"
|
echo "configuration file $mountPoint/$NIXOS_CONFIG doesn't exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user