This commit is contained in:
Girish Ramakrishnan
2024-10-14 18:26:16 +02:00
parent 7f141605fa
commit ca8695a1d3

View File

@@ -98,7 +98,7 @@ function sudo(tag, args, options, callback) {
callback = once(callback); // exit may or may not be called after an 'error'
const logFunc = options.outputHasTimestamps ? process.stdoud.write : debug;
const logFunc = options.outputHasTimestamps ? process.stdout.write : debug;
if (options.ipc) {
sudoArgs.push('--close-from=4'); // keep the ipc open. requires closefrom_override in sudoers file