diff --git a/overlay.d/05core/usr/lib/dracut/modules.d/99emergency-timeout/timeout.sh b/overlay.d/05core/usr/lib/dracut/modules.d/99emergency-timeout/timeout.sh index 935935433c..85fb3d761d 100644 --- a/overlay.d/05core/usr/lib/dracut/modules.d/99emergency-timeout/timeout.sh +++ b/overlay.d/05core/usr/lib/dracut/modules.d/99emergency-timeout/timeout.sh @@ -29,7 +29,7 @@ _prompt_for_timeout() { if [[ -e /.emergency-shell-confirmed ]]; then return fi - failed=$(systemctl --failed --no-legend | cut -f 1 -d ' ') + failed=$(systemctl --failed --no-legend --plain | cut -f 1 -d ' ') if [ -n "${failed}" ]; then # Something failed, suppress kernel logs so that it's more likely # the useful bits from the journal are available.