mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-31 02:33:44 +00:00
create run dir (mostly for windows) if it does not exist yet
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16262 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
bc4c5d2b2c
commit
66c6760d27
@ -730,6 +730,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
apr_pool_create(&pool, NULL);
|
apr_pool_create(&pool, NULL);
|
||||||
|
|
||||||
|
switch_dir_make_recursive(SWITCH_GLOBAL_dirs.run_dir, SWITCH_DEFAULT_DIR_PERMS, pool);
|
||||||
|
|
||||||
if (switch_file_open(&fd,
|
if (switch_file_open(&fd,
|
||||||
pid_path,
|
pid_path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user