Updated sudo check for -Rp

This commit is contained in:
Harry Arakkal 2019-05-17 21:26:22 -07:00
parent d406966174
commit 48e1d65539

View File

@ -141,6 +141,9 @@ func (parser *arguments) needRoot() bool {
}
return false
case "R", "remove":
if parser.existsArg("p", "print", "print-format") {
return false
}
return true
case "S", "sync":
if parser.existsArg("y", "refresh") {