secrets.password-store: ignore ssh errors

This commit is contained in:
lassulus 2023-10-01 23:58:31 +02:00
parent ff1fb784e7
commit 3c1d7a0553

View File

@ -72,7 +72,7 @@ in
)
remote_pass_info=$(ssh ${config.clan.networking.deploymentAddress} -- ${lib.escapeShellArg ''
cat ${config.clan.password-store.targetDirectory}/.pass_info || :
''})
''} || :)
if test "$local_pass_info" = "$remote_pass_info"; then
echo secrets already match