maxInterval should bet at least 1

This commit is contained in:
Utkarsh Verma 2022-04-21 19:04:41 +05:30
parent 23e1d5732a
commit 09e72e590d
No known key found for this signature in database
GPG Key ID: 817656CF818EFCCC
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -41,7 +41,7 @@ static Window root;
static unsigned short statusContinue = 1; static unsigned short statusContinue = 1;
static struct epoll_event event; static struct epoll_event event;
static int pipes[LEN(blocks)][2]; static int pipes[LEN(blocks)][2];
static int timer = 0, timerTick = 0, maxInterval = 0; static int timer = 0, timerTick = 0, maxInterval = 1;
static int signalFD; static int signalFD;
static int epollFD; static int epollFD;
static int execLock = 0; static int execLock = 0;