write pid file name in case of error
add exit code 8 if we cant open pid file
This commit is contained in:
parent
2a09e1a5ba
commit
6cea580821
|
|
@ -3,6 +3,8 @@ Version 2.8.1b29 - Not Released yet
|
||||||
without fspscan
|
without fspscan
|
||||||
do not install shell scripts if no clients are installed
|
do not install shell scripts if no clients are installed
|
||||||
support for user supplied examplesdir
|
support for user supplied examplesdir
|
||||||
|
display pidfile name in case we can not write to it
|
||||||
|
add error exit 8 if we can't write pid file
|
||||||
Version 2.8.1b28 - 16 Aug 2019
|
Version 2.8.1b28 - 16 Aug 2019
|
||||||
Pull scons site Python 3 fixed from fsplib and fspclient projects
|
Pull scons site Python 3 fixed from fsplib and fspclient projects
|
||||||
More scons with python 3 build fixes
|
More scons with python 3 build fixes
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
.TH FSPD 1 "Mar 2005" FSP
|
.TH FSPD 1 "Aug 2019" FSP
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fspd, in.fspd \- File Service Protocol (FSP) server
|
fspd, in.fspd \- File Service Protocol (FSP) server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
@ -205,6 +205,9 @@ can not change directory to homedir
|
||||||
.B 7
|
.B 7
|
||||||
select() error
|
select() error
|
||||||
|
|
||||||
|
.B 8
|
||||||
|
can not write pidfile
|
||||||
|
|
||||||
.B 99
|
.B 99
|
||||||
Internal terror
|
Internal terror
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -324,8 +324,8 @@ int main (int argc, char ** argv)
|
||||||
*/
|
*/
|
||||||
#ifndef LAMERPACK
|
#ifndef LAMERPACK
|
||||||
if (pidfile(pidlogname)) {
|
if (pidfile(pidlogname)) {
|
||||||
fprintf(stderr,"Error: can not write pidfile - exiting.\n");
|
fprintf(stderr,"Error: can not write pidfile %s - exiting.\n",pidlogname);
|
||||||
exit(1);/* cannot write pid file - exit */
|
exit(8);/* cannot write pid file - exit */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
init_htab();
|
init_htab();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user