ssh-client-wrapper 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/fork.js +5 -0
- package/package.json +1 -1
package/lib/fork.js
CHANGED
|
@@ -96,6 +96,11 @@ async function fork (hostInfo, cmd, args, timeout, outputCallback, retryableExit
|
|
|
96
96
|
err.retryable = true;
|
|
97
97
|
reject(err);
|
|
98
98
|
}
|
|
99
|
+
if (/muxserver_listen: link mux listener .* Bad file descriptor/.test(output)) {
|
|
100
|
+
ptyProcess.kill();
|
|
101
|
+
const err = new Error("Control socket creation failed");
|
|
102
|
+
reject(err);
|
|
103
|
+
}
|
|
99
104
|
});
|
|
100
105
|
}
|
|
101
106
|
|