- corrected job output via syslog (bnc#692871) OBS-URL: https://build.opensuse.org/request/show/70024 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=78
21 lines
535 B
Diff
21 lines
535 B
Diff
Index: cronie-1.4.7/src/do_command.c
|
|
===================================================================
|
|
--- cronie-1.4.7.orig/src/do_command.c
|
|
+++ cronie-1.4.7/src/do_command.c
|
|
@@ -480,7 +480,6 @@ static int child_process(entry * e, user
|
|
bytes++;
|
|
if (mail)
|
|
putc(ch, mail);
|
|
- }
|
|
#if defined(SYSLOG)
|
|
if (SyslogOutput) {
|
|
logbuf[bufidx++] = ch;
|
|
@@ -494,6 +493,7 @@ static int child_process(entry * e, user
|
|
}
|
|
}
|
|
#endif
|
|
+ }
|
|
|
|
/* only close pipe if we opened it -- i.e., we're
|
|
* mailing...
|