Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 1995 06:55:12 -0700
From:      Paul Richards <paul>
To:        CVS-commiters, cvs-usrsbin
Subject:   cvs commit: src/usr.sbin/syslogd syslogd.c
Message-ID:  <199509111355.GAA21288@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
paul        95/09/11 06:55:12

  Modified:    usr.sbin/syslogd  syslogd.c
  Log:
  Remove unconditional unlink at startup and conditionalised the unlink at exit
  so that it only unlinks the file if syslogd knows it created it.
  
  If the path specified for the socket already exists then syslogd
  will now exit with an "address already in use" error which is more
  sensible than blindly unlinking the existing filename.  This stops
  syslogd -d foo/bar from unlinking foo/bar if it's a real file.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509111355.GAA21288>