diff --git a/index.js b/index.js index ea1b087..31b88fa 100644 --- a/index.js +++ b/index.js @@ -116,6 +116,8 @@ function Linux(instance, end) { var command = []; command.push('"' + EscapeDoubleQuotes(binary) + '"'); if (/kdesudo/i.test(binary)) { + var reason = 'needs administrative privileges. Please enter your password.'; + command.push('--comment', '"' + instance.options.name + ' ' + reason + '"'); command.push('--'); } else if (/pkexec/i.test(binary)) { command.push('--disable-internal-agent');