aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index cbccc0f..d3eb97c 100644
--- a/fbi.c
+++ b/fbi.c
@@ -789,6 +789,12 @@ svga_show(struct flist *f, struct flist *prev,
if (check_console_switch()) {
continue;
}
+
+ if (!interactive) {
+ sleep(timeout);
+ return -1;
+ }
+
FD_ZERO(&set);
FD_SET(0, &set);
fdmax = 1;