version 1.14, 2025/04/02 04:50:49
|
version 1.15, 2025/04/03 20:48:14
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.15 2025/04/03 20:48:14 snw |
|
* Improve daemon error diagnostics and bump to 0.63.0-rc3 |
|
* |
* Revision 1.14 2025/04/02 04:50:49 snw |
* Revision 1.14 2025/04/02 04:50:49 snw |
* Allow vendor routines to be upgraded |
* Allow vendor routines to be upgraded |
* |
* |
Line 603 int main (int argc, char **argv, char **
|
Line 606 int main (int argc, char **argv, char **
|
errsav = errno; |
errsav = errno; |
|
|
if (pid_fd < 0) { |
if (pid_fd < 0) { |
|
fprintf (stderr, "freem: could not open PID file %s [%s]\n", pid_file_path, strerror (errsav)); |
m_log (1, "freem: could not open PID file"); |
m_log (1, "freem: could not open PID file"); |
m_log (1, strerror (errsav)); |
m_log (1, strerror (errsav)); |
exit (1); |
exit (1); |
Line 610 int main (int argc, char **argv, char **
|
Line 614 int main (int argc, char **argv, char **
|
|
|
if (lockf (pid_fd, F_TLOCK, 0) < 0) { |
if (lockf (pid_fd, F_TLOCK, 0) < 0) { |
errsav = errno; |
errsav = errno; |
|
fprintf (stderr, "freem: could not lock PID file [%s]\n", strerror (errsav)); |
m_log (1, "freem: could not lock PID file - perhaps already running?"); |
m_log (1, "freem: could not lock PID file - perhaps already running?"); |
m_log (1, strerror (errsav)); |
m_log (1, strerror (errsav)); |
exit (1); |
exit (1); |