]> code.delx.au - monosys/blobdiff - healthcheck/systemd-user-units
healthcheck: simplify now that `systemd --user` is running everywhere
[monosys] / healthcheck / systemd-user-units
index 5f8a4065666e0b1ca2a6cc6186ca49cdaa8a3035..ddc155189a74046793146a3b7d7f9ea4e21ffd8d 100755 (executable)
@@ -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