Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
use delay() during poweroff
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Feb 1, 2022
1 parent e19f138 commit 179bd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frugalify.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static int init(void)
closelog();

ret = kill(-1, SIGTERM);
sleep(2);
delay(2);
if (ret == 0)
kill(-1, SIGKILL);

Expand Down

0 comments on commit 179bd9e

Please sign in to comment.