Comment sudo.touch implementation

This commit is contained in:
Joran Dirk Greef 2015-09-07 08:52:26 +02:00
parent 36ab9581de
commit 2a6642b079

View file

@ -113,9 +113,9 @@ exports.touch = function(end) {
// This is a convenience method to extend the sudo session. // This is a convenience method to extend the sudo session.
// This uses existing sudo-prompt machinery. // This uses existing sudo-prompt machinery.
Sudo('echo touchingsudotimestamp', Sudo('echo touchingsudotimestamp',
function(error) { function(error, stdout, stderr) {
if (error) return end(error); if (error) return end(error);
end(); end(); // Do not pass stdout and stderr back to callback.
} }
); );
}; };