Changeset ad3ce5b in git
- Timestamp:
- Feb 8, 2021, 3:44:58 PM (2 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 10ea86a93465b7a864163533f6c6a52f9622d649
- Parents:
- 05c6aa046ecb829a56d4e4271378716a2b3b1148
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/links/ssiLink.cc
r05c6aa0 rad3ce5b 952 952 sigprocmask(SIG_BLOCK, &sigint, NULL); 953 953 /* set #cpu to 1 for the child:*/ 954 954 feSetOptValue(FE_OPT_CPUS,1); 955 955 956 956 link_list hh=(link_list)ssiToBeClosed->next; … … 1142 1142 char* ser_host = (char*)omAlloc(64); 1143 1143 gethostname(ser_host,64); 1144 sprintf(ssh_command,"ssh %s %s -q --batch --link=ssi --MPhost=%s --MPport=%d &",cli_host,path,ser_host,portno); 1144 if (strcmp(cli_host,"localhost")==0) /*avoid "ssh localhost" as key may change*/ 1145 sprintf(ssh_command,"%s -q --batch --link=ssi --MPhost=%s --MPport=%d &",path,ser_host,portno); 1146 else 1147 sprintf(ssh_command,"ssh %s %s -q --batch --link=ssi --MPhost=%s --MPport=%d &",cli_host,path,ser_host,portno); 1145 1148 //Print("client on %s started:%s\n",cli_host,path); 1146 1149 omFree(path);
Note: See TracChangeset
for help on using the changeset viewer.