Skip to content

Commit

Permalink
forgot second nanosleep parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
alanzhao1 committed Mar 26, 2024
1 parent b1b4306 commit 643902d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/autoupdater/autoupdater.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ static void waitToApplyUpdates(void)
read(3, &x, sizeof (x));
info("Pipe has closed, waiting for process to fully go away now.");
while (kill(options.waitforprocess, 0) == 0) {
nanosleep(&req);
nanosleep(&req, NULL);
}
#endif
}
Expand Down

0 comments on commit 643902d

Please sign in to comment.