modules/nixos/common/update.bash: return -> exit
This commit is contained in:
parent
4f10f3d3c0
commit
4f3703fdc9
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@ hostname=$(uname -n)
|
|||
p=$(curl -L https://buildbot.nix-community.org/nix-outputs/nix-community/infra/master/"$arch"-linux.host-"$hostname")
|
||||
|
||||
if [[ "$(readlink /run/booted-system)" == "$p" ]]; then
|
||||
return
|
||||
exit 0
|
||||
fi
|
||||
if [[ "$(readlink /run/current-system)" == "$p" ]]; then
|
||||
return
|
||||
exit 0
|
||||
fi
|
||||
|
||||
nix-store --realise "$p"
|
||||
|
|
Loading…
Add table
Reference in a new issue