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:
parent
621c98f15a
commit
8abaa025ec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue