Keep output

This commit is contained in:
Matthias Pigulla committed 2021-03-01 10:50:07 +00:00
1 parent 5f971b8d4f
commit 02a6899abb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ try {
let output = '';
try {
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) {
fs.unlinkSync(keyFile);
+1 -1
View File
@@ -67,7 +67,7 @@ try {
let output = '';
try {
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) {
fs.unlinkSync(keyFile);