diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index 0e9500a98..411de31f4 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -369,7 +369,7 @@ and try again. EOF fi - if grep -qi "nix" "$profile_target"; then + if [ -e "$profile_target" ] && grep -qi "nix" "$profile_target"; then failure <