From: James Bunton Date: Tue, 16 Jun 2020 04:59:48 +0000 (+1000) Subject: healthcheck: simplify now that `systemd --user` is running everywhere X-Git-Url: https://code.delx.au/monosys/commitdiff_plain/e052509811603e029d0a6f8870202ddb6f0e82a0 healthcheck: simplify now that `systemd --user` is running everywhere --- diff --git a/healthcheck/systemd-user-units b/healthcheck/systemd-user-units index 5f8a406..ddc1551 100755 --- a/healthcheck/systemd-user-units +++ b/healthcheck/systemd-user-units @@ -4,10 +4,6 @@ if systemctl --user is-system-running > /dev/null; then exit 0 fi -if systemctl --user is-system-running 2>&1 | grep -q 'Failed to connect to bus'; then - exit 0 -fi - echo -e "# systemctl --user --failed" systemctl --user --failed exit 1