mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
misc
This commit is contained in:
parent
1b19b91884
commit
2c2cc2f9a9
13 changed files with 3358 additions and 1343 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue