This commit is contained in:
Joran Dirk Greef 2016-05-18 12:52:04 +02:00
commit e428e0b50a

View file

@ -14,6 +14,8 @@ function Attempt(instance, end) {
var command = [];
command.push('/usr/bin/sudo');
command.push('-n');
// Preserve user environment:
command.push('-E');
command.push(instance.command);
command = command.join(' ');
Node.child.exec(command,