fix(ci): handle disabled systemd units in docker doctor flow

This commit is contained in:
Peter Steinberger 2026-03-03 05:48:09 +00:00
parent de62ccbf81
commit b52c9f2575
1 changed files with 2 additions and 0 deletions

View File

@ -37,8 +37,10 @@ case "$cmd" in
unit="${args[1]:-}"
unit_path="$HOME/.config/systemd/user/${unit}"
if [ -f "$unit_path" ]; then
echo "enabled"
exit 0
fi
echo "disabled" >&2
exit 1
;;
show)