Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 107076 | Differences between
and this patch

Collapse All | Expand All

(-)collectd-3.5.0-orig/src/collectd.c (-3 / +3 lines)
Lines 235-243 Link Here
235
	return (0);
235
	return (0);
236
}
236
}
237
237
238
int pidfile_remove (void)
238
int pidfile_remove (char *file)
239
{
239
{
240
      return (unlink (PIDFILE));
240
      return (unlink (file));
241
}
241
}
242
242
243
int main (int argc, char **argv)
243
int main (int argc, char **argv)
Lines 412-418 Link Here
412
	closelog ();
412
	closelog ();
413
413
414
	if (daemonize)
414
	if (daemonize)
415
		pidfile_remove();
415
		pidfile_remove(pidfile);
416
416
417
	return (0);
417
	return (0);
418
}
418
}

Return to bug 107076