First of all, change FLAG_TIMSTAMP_EVERY to not have the same value as FLAG_NO_DAEMON (I botched a merge conflict, my bad!)
Then, call daemon(3) with nochdir = 1 so that the daemon will maintain the PWD from which it started, and as a result the log file specified with the --output flag will be relative to that directory. Fixes #205
First of all, change FLAG_TIMSTAMP_EVERY to not have the same value as FLAG_NO_DAEMON (I botched a merge conflict, my bad!)
Then, call daemon(3) with nochdir = 1 so that the daemon will maintain the PWD from which it started, and as a result the log file specified with the --output flag will be relative to that directory. Fixes #205