src/rc/openrc-shutdown.c: fix style
This commit is contained in:
parent
7a00c63420
commit
28b73fc524
@ -154,7 +154,7 @@ static void sleep_no_interrupt(int seconds)
|
|||||||
duration.tv_sec = seconds;
|
duration.tv_sec = seconds;
|
||||||
duration.tv_nsec = 0;
|
duration.tv_nsec = 0;
|
||||||
|
|
||||||
while(nanosleep(&duration, &remaining) < 0 && errno == EINTR)
|
while (nanosleep(&duration, &remaining) < 0 && errno == EINTR)
|
||||||
duration = remaining;
|
duration = remaining;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user