fix: sudo pattern

This commit is contained in:
iff 2023-07-30 19:50:22 +02:00
parent 24bf0dd942
commit cb8f597fc3

View file

@ -2,32 +2,28 @@ command = "sudo"
[[match_output]] [[match_output]]
pattern = [ pattern = [
"as root",
"authentication is required", "authentication is required",
"be root",
"be superuser",
"eacces", "eacces",
"edspermissionerror", "edspermissionerror",
"error: insufficient privileges", "error: insufficient privileges",
"must be root", "insufficient privileges",
"must be run as root",
"must be superuser",
"must run as root",
"need root", "need root",
"need to be root",
"needs to be run as root",
"non-root users cannot", "non-root users cannot",
"not super-user", "not super-user",
"only root can", "only root can",
"operation not permitted", "operation not permitted",
"permission denied", "permission denied",
"pkg: insufficient privileges", "requires root",
"requested operation requires superuser privilege",
"root privilege", "root privilege",
"root user",
"sudorequirederror", "sudorequirederror",
"superuser privilege", "superuser privilege",
"this command has to be run under the root user.", "unless you are root",
"this operation requires root.", "updatedb: can not open a temporary file",
"updatedb: can not open a temporary file"
"use `sudo`", "use `sudo`",
"you cannot perform this operation unless you are root",
"you don't have access to the history db.", "you don't have access to the history db.",
"you don't have write permissions", "you don't have write permissions",
] ]