fix(services): only the exit status decides manage_service

manage_service returned success for every action, so a failed start or
a missing init script showed up as done. The command now prints its
exit status after a marker, and only that status decides.

Closes #3
This commit is contained in:
Christian Manivong committed 2026-11-01 21:43:56 +01:00
1 parent 45f5b65427
commit 16e0fa9d5e
3 files changed
+78 -3

No files matched your search

+3
View File
@@ -19,6 +19,9 @@ recorded here; their history is the git log.
`ip neigh` nor `/proc/net/arp` has an age (NetOrk/netork#1327).
- The driver no longer removes `port` from the `optional_args` dict it is given:
the caller's dict stays as it was (#19).
- `manage_service()` reports a failed action or a missing init script as failed:
only the init script's exit status decides, where any action used to come back
as a success (#3).
## [0.7.0] - 2026-10-23