1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

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 == 'degraded' ]]; then
warnEcho "The user systemd session is degraded:"
systemctl --user --state=failed
${systemctl} --user --state=failed
warnEcho "Attempting to reload services anyway..."
fi