diff options
Diffstat (limited to 'src/rc/openrc-shutdown.c')
-rw-r--r-- | src/rc/openrc-shutdown.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/openrc-shutdown.c b/src/rc/openrc-shutdown.c index 2c8863bb..45936052 100644 --- a/src/rc/openrc-shutdown.c +++ b/src/rc/openrc-shutdown.c @@ -111,8 +111,8 @@ static void create_nologin(int mins) t += 60 * mins; if ((fp = fopen(nologin_file, "w")) != NULL) { - fprintf(fp, "\rThe system is going down on %s\r\n", ctime(&t)); - fclose(fp); + fprintf(fp, "\rThe system is going down on %s\r\n", ctime(&t)); + fclose(fp); } } @@ -122,7 +122,7 @@ static void create_nologin(int mins) static void send_cmd(const char *cmd) { FILE *fifo; - size_t ignored; + size_t ignored; if (do_dryrun) { einfo("Would send %s to init", cmd); |