From e052509811603e029d0a6f8870202ddb6f0e82a0 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Tue, 16 Jun 2020 14:59:48 +1000 Subject: [PATCH] healthcheck: simplify now that `systemd --user` is running everywhere --- healthcheck/systemd-user-units | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.39.2