summaryrefslogtreecommitdiff
path: root/blabouncer.c
diff options
context:
space:
mode:
Diffstat (limited to 'blabouncer.c')
-rw-r--r--blabouncer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/blabouncer.c b/blabouncer.c
index 143b366..8f5afad 100644
--- a/blabouncer.c
+++ b/blabouncer.c
@@ -911,7 +911,8 @@ int main(int argc, char *argv[]) {
// How many seconds of replay log should automatically be replayed - TODO - Can we do error checking on this?
settings.replayseconds = getconfint("replayseconds", settings.conffile);
- if (errno == ECONFINT) {
+ // Don't worry if replaymode != "time"
+ if (errno == ECONFINT && strcmp(settings.replaymode, "time") == 0) {
printf("main(): error getting 'replayseconds' from configuration file.\n");
exit(1);
}