mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Fix a compilation bug when disabling serial support.
This commit is contained in:
1 parent
d619861976
commit
d05b7706ed
2 files changed
+8
No files matched your search
@@ -3940,6 +3940,7 @@ terminal_func (char *arg, int flags)
|
||||
arg = skip_to (0, arg);
|
||||
}
|
||||
|
||||
#ifdef SUPPORT_SERIAL
|
||||
/* If a seial console is turned on, wait until the user pushes any key. */
|
||||
if (terminal & TERMINAL_SERIAL)
|
||||
{
|
||||
@@ -3984,6 +3985,7 @@ terminal_func (char *arg, int flags)
|
||||
/* Expired. */
|
||||
terminal &= (default_terminal | TERMINAL_DUMB);
|
||||
}
|
||||
#endif /* SUPPORT_SERIAL */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user