diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/rc-logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index 0545f826..193aa8cb 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -58,8 +58,8 @@ #define LOGFILE RC_SVCDIR "/rc.log" #define PERMLOG "/var/log/rc.log" -#define MOVELOG "mv " LOGFILE " " PERMLOG ".$$.tmp && cat " PERMLOG \ - ".$$.tmp >>" PERMLOG " 2>/dev/null && rm -f " PERMLOG ".$$.tmp" +#define MOVELOG "cat " LOGFILE " 2>/dev/null >>" PERMLOG " && " \ + "rm -f " LOGFILE static int signal_pipe[2] = { -1, -1 }; static int fd_stdout = -1; |