error in varname PROVIDER

This commit is contained in:
Michael Jenny 2024-11-23 13:30:20 +01:00
parent 5ef3f953d3
commit 453eb934be

View file

@ -382,7 +382,7 @@ infect() {
/nix/var/nix/profiles/system/bin/switch-to-configuration boot /nix/var/nix/profiles/system/bin/switch-to-configuration boot
} }
if [ ! -v PROVIDER ]; then if [ ! -v $PROVIDER ]; then
autodetectProvider autodetectProvider
fi fi