fix(scanner): change lsof cmd that should succeed without password (#1769)

This commit is contained in:
MaineK00n
2023-10-20 11:48:04 +09:00
committed by GitHub
parent 75e9883d8a
commit a1c1f4ce60
8 changed files with 8 additions and 8 deletions

View File

@@ -132,7 +132,7 @@ func (o *debian) checkIfSudoNoPasswd() error {
"stat /proc/1/exe",
"ls -l /proc/1/exe",
"cat /proc/1/maps",
"lsof -i -P -n",
"lsof -i -P -n -V",
}
if !o.getServerInfo().Mode.IsOffline() {