mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-11-06 15:06:29 +03:00
Keep output
This commit is contained in:
1 parent
5f971b8d4f
commit
02a6899abb
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -184,7 +184,7 @@ try {
|
|||||||
let output = '';
|
let output = '';
|
||||||
try {
|
try {
|
||||||
console.log(`Set passphrase on ${keyFile}`);
|
console.log(`Set passphrase on ${keyFile}`);
|
||||||
output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token], { stdio: 'inherit' });
|
output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token]);
|
||||||
} catch (exception) {
|
} catch (exception) {
|
||||||
fs.unlinkSync(keyFile);
|
fs.unlinkSync(keyFile);
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ try {
|
|||||||
let output = '';
|
let output = '';
|
||||||
try {
|
try {
|
||||||
console.log(`Set passphrase on ${keyFile}`);
|
console.log(`Set passphrase on ${keyFile}`);
|
||||||
output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token], { stdio: 'inherit' });
|
output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token]);
|
||||||
} catch (exception) {
|
} catch (exception) {
|
||||||
fs.unlinkSync(keyFile);
|
fs.unlinkSync(keyFile);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user