Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
This commit is contained in:
commit
762874fb4a
|
@ -291,11 +291,11 @@ void StreamBase::openComms() {
|
||||||
if ( errno != EEXIST ) {
|
if ( errno != EEXIST ) {
|
||||||
Error("Can't mkdir %s: %s", staticConfig.PATH_SOCKS.c_str(), strerror(errno));
|
Error("Can't mkdir %s: %s", staticConfig.PATH_SOCKS.c_str(), strerror(errno));
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
Error("EEXISTsuccess making dir %s", staticConfig.PATH_SOCKS.c_str() );
|
Debug(3, "SOCKS dir %s already exists", staticConfig.PATH_SOCKS.c_str() );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Error("success making dir %s", staticConfig.PATH_SOCKS.c_str() );
|
Debug(3, "Success making SOCKS dir %s", staticConfig.PATH_SOCKS.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
lock_fd = open(sock_path_lock, O_CREAT|O_WRONLY, S_IRUSR | S_IWUSR);
|
lock_fd = open(sock_path_lock, O_CREAT|O_WRONLY, S_IRUSR | S_IWUSR);
|
||||||
|
|
Loading…
Reference in New Issue