Fixes #2020 - snap binpath not to be passed as arg
This commit is contained in:
parent
e0824f4915
commit
64000eafb2
|
@ -163,7 +163,6 @@ ACTOR Future<int> execHelper(ExecCmdValueString* execArg, std::string folder, st
|
||||||
auto snapBin = execArg->getBinaryPath();
|
auto snapBin = execArg->getBinaryPath();
|
||||||
auto dataFolder = "path=" + folder;
|
auto dataFolder = "path=" + folder;
|
||||||
std::vector<std::string> paramList;
|
std::vector<std::string> paramList;
|
||||||
paramList.push_back(snapBin.toString());
|
|
||||||
// get user passed arguments
|
// get user passed arguments
|
||||||
auto listArgs = execArg->getBinaryArgs();
|
auto listArgs = execArg->getBinaryArgs();
|
||||||
for (auto elem : listArgs) {
|
for (auto elem : listArgs) {
|
||||||
|
|
Loading…
Reference in New Issue