Skip to content

Commit

Permalink
regression fix: invalid pidfile location
Browse files Browse the repository at this point in the history
closes: rsyslog#86
  • Loading branch information
mbiebl authored and rgerhards committed Jun 21, 2014
1 parent a0093d8 commit b1cbb1b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tools/syslogd.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,8 @@ void rsyslogdDebugSwitch();
void rsyslogdDoDie(int sig);


#if defined(SYSLOGD_PIDNAME)
# undef _PATH_LOGPID
# define _PATH_LOGPID "/etc/" SYSLOGD_PIDNAME
#else
# ifndef _PATH_LOGPID
# define _PATH_LOGPID "/etc/rsyslogd.pid"
# endif
#ifndef _PATH_LOGPID
# define _PATH_LOGPID "/var/run/rsyslogd.pid"
#endif

#ifndef _PATH_TTY
Expand Down

0 comments on commit b1cbb1b

Please sign in to comment.