Skip to content

Commit 11ec211

Browse files
Flush standard out before sleeping in verbose mode.
1 parent edf722c commit 11ec211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mbpfan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ void mbpfan()
557557

558558
if(verbose) {
559559
printf("Sleeping for %d seconds\n", polling_interval);
560+
fflush(stdout);
560561

561562
if(daemonize) {
562563
syslog(LOG_INFO, "Sleeping for %d seconds", polling_interval);

0 commit comments

Comments
 (0)