diff options
Diffstat (limited to 'src/rc/start-stop-daemon.c')
-rw-r--r-- | src/rc/start-stop-daemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index bd6c7bfe..459bcf15 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -322,7 +322,7 @@ get_pid(const char *pidfile, bool quiet) fclose(fp); return -1; } - + fclose(fp); return pid; @@ -631,7 +631,7 @@ static const struct option longopts[] = { longopts_COMMON }; static const char * const longopts_help[] = { - "Set an ionice class:data when starting", + "Set an ionice class:data when starting", "Stop daemon", "Set a nicelevel when starting", "Retry schedule to use when stopping", @@ -1343,7 +1343,7 @@ start_stop_daemon(int argc, char **argv) if (start_wait > 0) { struct timespec ts; bool alive = false; - + ts.tv_sec = start_wait / 1000; ts.tv_nsec = (start_wait % 1000) * ONE_MS; if (nanosleep(&ts, NULL) == -1) { |