1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01: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 == '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