mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
systemd: don't page failed user units
Otherwise, the pager (typically `less`) pauses execution of
`home-manager switch` until the pager is dismissed, if the content is
larger than would fit on the screen.
PR #1175
(cherry picked from commit 8369624512
)
This commit is contained in:
parent
2dd4c20f49
commit
9b5133529e
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,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 --no-pager --state=failed
|
||||
warnEcho "Attempting to reload services anyway..."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue