systemd: fix degraded warning

This commit is contained in:
arcnmx 2019-12-15 14:58:43 -08:00
parent 621c98f15a
commit 8abaa025ec

View file

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