Fix double command.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2022-10-21 16:35:58 +03:00
1 parent ffce337827
commit 3294d43c1b
1 file changed
+1 -1
@@ -54,7 +54,7 @@ const computeUnixShellEnvironmentInjectable = getInjectable({
shellProcess.stdout.on("data", b => stdout.push(b)); shellProcess.stdout.on("data", b => stdout.push(b));
shellProcess.stdin.write(command); shellProcess.stdin.write(command);
shellProcess.stdin.end(command); shellProcess.stdin.end();
shellProcess.on("close", (code, signal) => { shellProcess.on("close", (code, signal) => {
if (code || signal) { if (code || signal) {