Cleanup some duplicate checks.

This commit is contained in:
Dave Davenport
2022-03-15 01:00:56 +01:00
parent d623e18fbb
commit f088d75ee4
10 changed files with 22 additions and 25 deletions

View File

@@ -149,11 +149,11 @@ int execute_generator(const char *cmd) __attribute__((nonnull));
/**
* @param pidfile The pidfile to create.
* @param kill Try killing running instance.
* @param kill_running Try killing running instance.
*
* returns file descriptor (or -1 when failed)
*/
int create_pid_file(const char *pidfile, gboolean kill);
int create_pid_file(const char *pidfile, gboolean kill_running);
/**
* Remove pid file