summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaherma-adg <maherma-adg@users.noreply.github.com>2015-08-25 21:58:16 +0200
committermaherma-adg <maherma@asdeguiaingenieria.com>2015-08-25 21:11:57 +0000
commita265052b13b575e7613a1eb133e53781751dc153 (patch)
tree1641d8a6ccd130ebf6f2b121e76b06f542e3a992
parenta966eab797855744f70101ed6f36a62e99b51c9d (diff)
downloadfbv-a265052b13b575e7613a1eb133e53781751dc153.tar.gz
fbv-a265052b13b575e7613a1eb133e53781751dc153.zip
Fix slideshow mode exit code
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index bbda83a..a7b231e 100644
--- a/main.c
+++ b/main.c
@@ -308,7 +308,10 @@ identified:
FD_SET(0, &fds);
if(select(1, &fds, NULL, NULL, &tv) <= 0)
+ {
+ ret = 1;
break;
+ }
delay = 0;
}
OpenPOWER on IntegriCloud