summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/syscons/syscons.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 982c7c2..0e519b0 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -554,7 +554,8 @@ scclose(dev_t dev, int flag, int mode, struct thread *td)
int
scread(dev_t dev, struct uio *uio, int flag)
{
- sc_touch_scrn_saver();
+ if (!sc_saver_keyb_only)
+ sc_touch_scrn_saver();
return ttyread(dev, uio, flag);
}
OpenPOWER on IntegriCloud