SNMP frontend: conflict typos, snmp pidfile

This commit is contained in:
Olof hagsand 2022-05-17 18:30:54 +02:00
parent 5172cf15fa
commit 42f21a309a
5 changed files with 35 additions and 7 deletions

View file

@ -1004,7 +1004,7 @@ main(int argc,
goto done;
/* Write pid-file */
if ((pid = pidfile_write(pidfile)) < 0)
if (pidfile_write(pidfile) < 0)
goto done;
if (set_signal(SIGTERM, backend_sig_term, NULL) < 0){