mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-27 07:13:33 +02:00
turn off root check in cygwin for now
This commit is contained in:
parent
5352b5075e
commit
ad5c401762
1 changed files with 2 additions and 0 deletions
|
@ -90,11 +90,13 @@ int setgroups(int count, int *groups)
|
|||
void
|
||||
check_superuser(void (*usage_fn)(void))
|
||||
{
|
||||
#ifndef __CYGWIN__
|
||||
if (geteuid() != 0) {
|
||||
warnx("Run as root and you'll be happy.\n");
|
||||
usage_fn();
|
||||
/* NOTREACHED */
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue