mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
Merge branch 'releases.3.4.experimental_head' into releases.3.5
This commit is contained in:
+4
-2
@@ -48,7 +48,7 @@
|
||||
#include "private/switch_core_pvt.h"
|
||||
|
||||
/* pid filename: Stores the process id of the freeswitch process */
|
||||
#define PIDFILE "netborder-ss7.pid"
|
||||
#define PIDFILE "nsg.pid"
|
||||
static char *pfile = PIDFILE;
|
||||
static int system_ready = 0;
|
||||
|
||||
@@ -919,7 +919,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (switch_core_init_and_modload(flags, nc ? SWITCH_FALSE : SWITCH_TRUE, &err) != SWITCH_STATUS_SUCCESS) {
|
||||
fprintf(stderr, "Failed to initialize modules: %s\n", err);
|
||||
return 1;
|
||||
/* 65 is EX_DATAERR (see sysexits.h), meaning some input from the user failed, some init scripts use
|
||||
* this to tell when fs fails to start due to configuration error */
|
||||
return 65;
|
||||
}
|
||||
|
||||
if (switch_file_open(&fd, pid_path, SWITCH_FOPEN_READ, SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE, pool) == SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user