fix(deploy): ignore missing nvd

This commit is contained in:
oddlama 2023-10-18 00:57:06 +02:00
parent 26d3f17451
commit 957d9575fd
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -107,7 +107,7 @@
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \
|| echo "Error while activating new system" >&2
if [[ -n "$prev_system" ]]; then
ssh "$host" -- nvd --color always diff "$prev_system" "$store_path"
ssh "$host" -- nvd --color always diff "$prev_system" "$store_path" || true
fi
time_next
echo " Applied  $host in ''${T_LAST}s"