systemd: fix degraded warning

(cherry picked from commit 8abaa025ec)
This commit is contained in:
arcnmx 2019-12-15 14:58:43 -08:00 committed by Robert Helgesson
parent 829b688827
commit 8fb1ed5919
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -251,7 +251,7 @@ in
if [[ $systemdStatus == 'running' || $systemdStatus == 'degraded' ]]; then
if [[ $systemdStatus == 'degraded' ]]; then
warnEcho "The user systemd session is degraded:"
systemctl --user --state=failed
${systemctl} --user --state=failed
warnEcho "Attempting to reload services anyway..."
fi