Skip to content

Commit bb8b38c

Browse files
committed
fix: ssh command should fail if it couldn't set the system-features
1 parent 21e6b53 commit bb8b38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ SSH
10631063
# deduplicate the features
10641064
system_features=$(echo "${system_features}" | tr ' ' '\n' | sort -u | tr '\n' ' ' | sed 's/ $//')
10651065
1066-
runSsh sh <<SSH || true
1066+
runSsh sh <<SSH
10671067
mkdir -p ~/.config/nix
10681068
echo "system-features = ${system_features}" >> ~/.config/nix/nix.conf
10691069
SSH

0 commit comments

Comments
 (0)