fix bug in test shell and bug in front -a mode
This commit is contained in:
@@ -1114,7 +1114,7 @@ void execute_bash_debug(string fun,string ip,string type,int proindex)
|
||||
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
char command[256];
|
||||
snprintf(command, sizeof(command), "%s %s %s %s &", script, param1, param2, param3,param4);
|
||||
snprintf(command, sizeof(command), "%s %s %s %s %s &", script, param1, param2, param3,param4);
|
||||
|
||||
std::cout << "command:" << command <<std::endl;
|
||||
|
||||
@@ -1243,6 +1243,8 @@ void parse_set(const std::string& json_str) {
|
||||
proindex = index_item->valueint;
|
||||
}
|
||||
|
||||
std::cout << "proindex is :" << proindex <<std::endl;
|
||||
|
||||
//У<><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
if((fun == "start" || fun == "delete") &&
|
||||
isValidIP(ip) &&
|
||||
|
||||
Reference in New Issue
Block a user