diff options
-rw-r--r-- | etc/rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/init.d/functions b/etc/rc.d/init.d/functions index 9e33ee06..0c2bda66 100644 --- a/etc/rc.d/init.d/functions +++ b/etc/rc.d/init.d/functions @@ -86,7 +86,7 @@ if [ -z "${BOOTUP:-}" ]; then # NOTE: /dev/ttyS* is serial console. "not a tty" is such as # /dev/null associated when executed under systemd service units. - if LANG=C tty | grep --quiet -e '\(/dev/ttyS\|not a tty\)'; then + if LANG=C tty | grep -q -e '\(/dev/ttyS\|not a tty\)'; then BOOTUP=serial MOVE_TO_COL= SETCOLOR_SUCCESS= |