diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-08-17 12:49:48 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-08-17 12:49:48 +0200 |
commit | b9e11915a976daaf790ebc763aff56e19fd49e0f (patch) | |
tree | 7c69dc9427a8a0470ff12f772846b956e747bf78 /include/inspircd.h | |
parent | f9fd78c01623514a060c607534fc52cb73140200 (diff) | |
parent | c7a26bc21629ddd4103dac1ff7f9acf45a2c4d35 (diff) |
Merge insp20
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index ee09070f8..303d24745 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -507,9 +507,10 @@ class CoreExport InspIRCd /** Attempt to write the process id to a given file * @param filename The PID file to attempt to write to + * @param exitonfail If true and the PID fail cannot be written log to stdout and exit, otherwise only log on failure * @return This function may bail if the file cannot be written */ - void WritePID(const std::string &filename); + void WritePID(const std::string& filename, bool exitonfail = true); /** This constructor initialises all the subsystems and reads the config file. * @param argc The argument count passed to main() |