mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
typo
This commit is contained in:
@ -4230,7 +4230,7 @@ int copy_detector_server(int file_des) {
|
|||||||
if (snprintf(cmd, MAX_STR_LENGTH, format, hostname, sname) >=
|
if (snprintf(cmd, MAX_STR_LENGTH, format, hostname, sname) >=
|
||||||
MAX_STR_LENGTH) {
|
MAX_STR_LENGTH) {
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
sptrcpy(mess, "Could not copy detector server. Command to copy "
|
strcpy(mess, "Could not copy detector server. Command to copy "
|
||||||
"server too long\n");
|
"server too long\n");
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
|
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
|
||||||
@ -4247,7 +4247,7 @@ int copy_detector_server(int file_des) {
|
|||||||
if (snprintf(cmd, MAX_STR_LENGTH, "chmod 777 %s", sname) >=
|
if (snprintf(cmd, MAX_STR_LENGTH, "chmod 777 %s", sname) >=
|
||||||
MAX_STR_LENGTH) {
|
MAX_STR_LENGTH) {
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
sptrcpy(mess, "Could not copy detector server. Command to give "
|
strcpy(mess, "Could not copy detector server. Command to give "
|
||||||
"permissions to server is too long\n");
|
"permissions to server is too long\n");
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
|
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
|
||||||
@ -4304,7 +4304,7 @@ int copy_detector_server(int file_des) {
|
|||||||
if (snprintf(cmd, MAX_STR_LENGTH, format, sname) >=
|
if (snprintf(cmd, MAX_STR_LENGTH, format, sname) >=
|
||||||
MAX_STR_LENGTH) {
|
MAX_STR_LENGTH) {
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
sptrcpy(mess, "Could not copy detector server. Command "
|
strcpy(mess, "Could not copy detector server. Command "
|
||||||
"to add new server for spawning is too long\n");
|
"to add new server for spawning is too long\n");
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
|
} else if (executeCommand(cmd, retvals, logDEBUG1) == FAIL) {
|
||||||
|
Reference in New Issue
Block a user