Exit with err 8 if pid file not writable after forking.
This commit is contained in:
parent
0cc86455da
commit
bec9c41478
|
|
@ -10,6 +10,7 @@ Version NEXT
|
|||
make sure that our descriptor for running in inetd is not 0 to 2,
|
||||
because we closing these later. This should help systemd internal
|
||||
inetd to work correctly using fspd socket activation.
|
||||
fspd exits with err 8 if can't write pidfile after forking
|
||||
|
||||
Version 2.8.1b29 - 24 Aug 2019
|
||||
added scons command line argument without-fspscan=yes for building
|
||||
|
|
|
|||
|
|
@ -374,7 +374,7 @@ int main (int argc, char ** argv)
|
|||
if (forkpid == 0) { /* child prozess */
|
||||
if (pidfile(pidlogname)) {
|
||||
pidfile_cleanup(pidlogname); /* try cleanup */
|
||||
exit(1);/* cannot write pid file - exit */
|
||||
exit(8);/* cannot write pid file - exit */
|
||||
}
|
||||
} else if (forkpid > 0) { /* father prozess */
|
||||
_exit(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user