You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemctl is-active FOOBAR (where FOOBAR is a non-existent service) is behaving differently on Ubuntu 24. It has exit code 4 rather than exit code 3 on releases such as Ubuntu 20 and Ubuntu 22.
systemctl is-active FOOBAR
(where FOOBAR is a non-existent service) is behaving differently on Ubuntu 24. It has exit code 4 rather than exit code 3 on releases such as Ubuntu 20 and Ubuntu 22.test_service2()
is similar toSysvService.is_running()
but accepts an exit status of 4 as well.Here's an example of the same script working as expected on Ubuntu 22:
The text was updated successfully, but these errors were encountered: