fix configtest stalled with scanMode=fast-root (#1339)
* fix configtest stalled with scanMode=fast-root * repoquery does not require sudo privileges on centos
This commit is contained in:
@@ -139,7 +139,7 @@ func (o *debian) checkIfSudoNoPasswd() error {
|
||||
"stat /proc/1/exe",
|
||||
"ls -l /proc/1/exe",
|
||||
"cat /proc/1/maps",
|
||||
"lsof -i -P",
|
||||
"lsof -i -P -n",
|
||||
}
|
||||
|
||||
if !o.getServerInfo().Mode.IsOffline() {
|
||||
|
||||
Reference in New Issue
Block a user