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