Skip to content

Commit

Permalink
Merge pull request #83 from kelvinfan001/fix-failed-units-output
Browse files Browse the repository at this point in the history
profile.sh: Update failed units' output
  • Loading branch information
kelvinfan001 authored Sep 30, 2020
2 parents dc03306 + 6636b68 commit 75458c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/share/console-login-helper-messages/profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Only print for interactive shells.
if [[ $- == *i* ]]; then
FAILED=$(systemctl list-units --state=failed --no-legend)
FAILED=$(systemctl list-units --state=failed --no-legend --plain)

if [[ ! -z "${FAILED}" ]]; then
COUNT=$(wc -l <<<"${FAILED}")
Expand Down

0 comments on commit 75458c0

Please sign in to comment.