diff options
| -rw-r--r-- | lib/lib.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -672,7 +672,7 @@ void xpidfile(char *name)  		spid[xread(fd, spid, sizeof(spid)-1)] = 0;  		close(fd);  		pid = atoi(spid); -		if (fd < 1 || kill(pid, 0) == ESRCH) unlink(pidfile); +		if (pid < 1 || kill(pid, 0) == ESRCH) unlink(pidfile);  		// An else with more sanity checking might be nice here.  	} | 
