mirror of
https://github.com/0xbbjubjub/miniguest.git
synced 2025-01-06 03:45:49 +03:00
tool: fix state corruption by upgrade
This commit is contained in:
parent
1a6ab7ab3e
commit
3ce25f7d79
@ -39,7 +39,7 @@ function install_profile {
|
||||
function upgrade_profile {
|
||||
[[ $# -eq 1 ]] || die "$FUNCNAME: wrong number of arguments!"
|
||||
local guest_name="$1"
|
||||
run_nix profile upgrade --profile "$guests_dir/$guest_name" ||
|
||||
run_nix profile upgrade --profile "$profiles_dir/$guest_name" ||
|
||||
die "unable to upgrade $guest_name!" $?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user