Fix log recursion
shell.sudo logs output to stdout/stderr intentionally. It is not meant for scripts that generate much output (basically scripts/* files). core of the issue is that none of the log commands require to use sudo. they can just use normal tail. only app logs requires sudo because of the logPaths directive in the manifest.
This commit is contained in:
@@ -20,7 +20,7 @@ exports = module.exports = {
|
||||
|
||||
const SUDO = '/usr/bin/sudo';
|
||||
|
||||
// default encoding utf8, no shell, separate args, wait for process to finish
|
||||
// default encoding utf8, no shell, handles input, separate args, wait for process to finish
|
||||
async function execArgs(tag, file, args, options) {
|
||||
assert.strictEqual(typeof tag, 'string');
|
||||
assert.strictEqual(typeof file, 'string');
|
||||
|
||||
Reference in New Issue
Block a user