♻️ minor refactoring

This commit is contained in:
Ingolf Wagner 2024-09-16 08:58:27 +07:00
parent 62315ee2c2
commit eea3ddf0cf
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -39,9 +39,11 @@
let
# todo handle exit code and stderr and such properly
script = pkgs.writers.writeBash "${serviceName}" serviceCommand;
#title = if title != null then title else "verify service ${serviceName}";
title = "verify service ${serviceName}";
in
''
echo "verify service ${serviceName} (local command)"
echo "${title}"
${script}
''
) localCommands;