SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
comms/lcdproc/patches/patch-clients_lcdexec_lcdexec_c
Normal file
13
comms/lcdproc/patches/patch-clients_lcdexec_lcdexec_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
Consistently log errors (further, stderr will be closed if daemonised).
|
||||
|
||||
--- clients/lcdexec/lcdexec.c.orig Tue Nov 15 17:00:42 2011
|
||||
+++ clients/lcdexec/lcdexec.c Tue Nov 15 17:01:44 2011
|
||||
@@ -149,7 +149,7 @@ int main(int argc, char **argv)
|
||||
fclose(pidf);
|
||||
pidfile_written = TRUE;
|
||||
} else {
|
||||
- fprintf(stderr, "Error creating pidfile %s: %s\n",
|
||||
+ report(RPT_CRIT, "Error creating pidfile %s: %s\n",
|
||||
pidfile, strerror(errno));
|
||||
return(EXIT_FAILURE);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue