This commit is contained in:
Ashish Kumar Yadav 2021-02-09 11:42:12 +05:30
parent 2c5ba57da2
commit 452d7850c2

View file

@ -164,9 +164,8 @@ statusloop()
perror("statusloop - nanosleep");
exit(1);
}
i = 1;
/* main loop */
for (;; i++) {
for (i = 1; ; i++) {
sigprocmask(SIG_BLOCK, &blocksigmask, NULL);
for (Block *block = blocks; block->pathu; block++)
if (block->interval > 0 && i % block->interval == 0)