From 48e1d6553985e743fe39ce98711baf17515da9ae Mon Sep 17 00:00:00 2001 From: Harry Arakkal Date: Fri, 17 May 2019 21:26:22 -0700 Subject: [PATCH] Updated sudo check for -Rp --- parser.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parser.go b/parser.go index 5c31177c..10a2657d 100644 --- a/parser.go +++ b/parser.go @@ -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") {