Removed a trivial bug
This commit is contained in:
parent
2d876bcd55
commit
edb5931419
|
@ -191,8 +191,8 @@ statusloop()
|
||||||
for (Block *current = blocks; current->pathu; current++)
|
for (Block *current = blocks; current->pathu; current++)
|
||||||
if (current->interval > 0 && i % current->interval == 0)
|
if (current->interval > 0 && i % current->interval == 0)
|
||||||
getcmd(current, NILL);
|
getcmd(current, NILL);
|
||||||
sigprocmask(SIG_UNBLOCK, &blocksigmask, NULL);
|
|
||||||
setroot();
|
setroot();
|
||||||
|
sigprocmask(SIG_UNBLOCK, &blocksigmask, NULL);
|
||||||
sleep(SLEEPINTERVAL);
|
sleep(SLEEPINTERVAL);
|
||||||
i += SLEEPINTERVAL;
|
i += SLEEPINTERVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue