Skip to content

Commit 8080c36

Browse files
committed
Bug#36053948 ndb_sign_keys can not find ssh program.
Post push fix. Windows needs full path also in command line in CreateProcess call. Change-Id: Ibf3bd6ffddb03cf8a9bb7743a2de3c064d555d98
1 parent e1bf251 commit 8080c36

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

storage/ndb/include/portlib/NdbProcess.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,7 @@ inline bool NdbProcess::start_process(process_handle_t &pid, const char *path,
269269
if (len > 0) path = full_path;
270270
}
271271

272-
/* Extract the command name from the full path, then append the arguments */
273-
std::filesystem::path cmdName(std::filesystem::path(path).filename());
274-
BaseString cmdLine(cmdName.string().c_str());
272+
BaseString cmdLine(path);
275273
BaseString argStr;
276274
argStr.assign(args.args(), " ");
277275
cmdLine.append(" ");

0 commit comments

Comments
 (0)