diff --git a/src/shell.js b/src/shell.js index 82a5c9b12..6f45757cc 100644 --- a/src/shell.js +++ b/src/shell.js @@ -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