bb64 release v15
This commit is contained in:
parent
61b61ca93d
commit
ae67bccf47
11
bb64.cpp
11
bb64.cpp
@ -79,14 +79,9 @@ int update_bb64()
|
||||
<< bash_script << std::endl;
|
||||
|
||||
// run the bash script
|
||||
int ret = system(bash_script.c_str());
|
||||
if (ret != 0)
|
||||
{
|
||||
std::cerr << "Failed to update bb64" << std::endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
execlp("bash", "bash", "-c", bash_script.c_str(), (char *)nullptr);
|
||||
std::cerr << "Failed to execute command." << std::endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int decode_and_run(const std::string &encoded)
|
||||
|
Loading…
x
Reference in New Issue
Block a user