Merge pull request #30 from vikstrous/master

make sudo rule work with pacman
This commit is contained in:
Vladimir Iakovlev
2015-04-18 21:21:48 +02:00
+1
View File
@@ -1,6 +1,7 @@
def match(command, settings):
return ('permission denied' in command.stderr.lower()
or 'EACCES' in command.stderr
or 'error: you cannot perform this operation unless you are root.' in command.stderr
or 'pkg: Insufficient privileges' in command.stderr)