mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix(ci): handle disabled systemd units in docker doctor flow
This commit is contained in:
@@ -37,8 +37,10 @@ case "$cmd" in
|
|||||||
unit="${args[1]:-}"
|
unit="${args[1]:-}"
|
||||||
unit_path="$HOME/.config/systemd/user/${unit}"
|
unit_path="$HOME/.config/systemd/user/${unit}"
|
||||||
if [ -f "$unit_path" ]; then
|
if [ -f "$unit_path" ]; then
|
||||||
|
echo "enabled"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
echo "disabled" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
show)
|
show)
|
||||||
|
|||||||
Reference in New Issue
Block a user