mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
misc
This commit is contained in:
@@ -178,7 +178,10 @@ void NmapOps::Initialize() {
|
||||
# ifdef __amigaos__
|
||||
isr00t = 1;
|
||||
# else
|
||||
isr00t = !(geteuid());
|
||||
if (getenv("NMAP_PRIVILEGED"))
|
||||
isr00t = 1;
|
||||
else
|
||||
isr00t = !(geteuid());
|
||||
# endif // __amigaos__
|
||||
#else
|
||||
isr00t = 1;
|
||||
|
||||
Reference in New Issue
Block a user