17 lines
483 B
Diff
17 lines
483 B
Diff
--- mdidentd/identd.cpp.orig 2003-11-03 19:21:50.175424408 -0500
|
|
+++ mdidentd/identd.cpp 2003-11-03 19:25:05.683702632 -0500
|
|
@@ -709,6 +709,14 @@
|
|
return -1;
|
|
|
|
default:
|
|
+ FILE *pidfile;
|
|
+ /* make the pid file */
|
|
+ pidfile = fopen("/var/run/mdidentd.pid", "w");
|
|
+ if (pidfile) {
|
|
+ fprintf(pidfile, "%i", xx);
|
|
+ fclose(pidfile);
|
|
+ } else
|
|
+ perror("Could not write pidfile");
|
|
return xx;
|
|
|
|
}
|