mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-05 03:03:11 +00:00
fix switch-to-configuration boot exit code check
This commit is contained in:
parent
4c0072fa7c
commit
c51aece2b9
|
@ -337,7 +337,7 @@ infect() {
|
|||
fi
|
||||
|
||||
echo "make configuration boot by default..."
|
||||
if /nix/var/nix/profiles/system/bin/switch-to-configuration boot; then
|
||||
if ! /nix/var/nix/profiles/system/bin/switch-to-configuration boot; then
|
||||
echo "Failed!"; exit 1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue