freebsd-ports/www/xitami/files/patch-ab
Steve Price 2ca9383e73 Update to version 2.4d7.
PR:		25222
Submitted by:	Bernd Luevelsmeyer <bdluevel@heitec.net>
2001-02-26 05:00:12 +00:00

20 lines
789 B
Text

--- src/smt/.vimbk/xitami.c.vimbk Sat Apr 1 18:11:39 2000
+++ src/smt/xitami.c Tue Nov 7 10:01:40 2000
@@ -168,7 +168,7 @@
fclose (stdout); /* Kill standard output */
fclose (stderr); /* and standard error */
}
- else
+ else if (*background == '0')
puts (COPYRIGHT);
if (*background == '1')
@@ -177,7 +177,7 @@
*background_args [] = { "-s", NULL };
puts ("Moving into the background");
- if (process_server (NULL, NULL, argc, argv, background_args) != 0)
+ if (process_server (NULL, "/var/run/xitami.pid", argc, argv, background_args) != 0)
{
puts ("Backgrounding failed. Giving up.");
exit (EXIT_FAILURE);