Removed a trivial bug

This commit is contained in:
Ashish Kumar Yadav 2020-07-29 22:37:58 +05:30
parent 2d876bcd55
commit edb5931419

View file

@ -191,8 +191,8 @@ statusloop()
for (Block *current = blocks; current->pathu; current++)
if (current->interval > 0 && i % current->interval == 0)
getcmd(current, NILL);
sigprocmask(SIG_UNBLOCK, &blocksigmask, NULL);
setroot();
sigprocmask(SIG_UNBLOCK, &blocksigmask, NULL);
sleep(SLEEPINTERVAL);
i += SLEEPINTERVAL;
}