# | Line 445 | Line 445 | int main(int argc, char **argv){ | |
---|---|---|
445 | return 1; | |
446 | } | |
447 | #endif | |
448 | + | #ifdef SOLARIS |
449 | + | if((seteuid(getuid())) != 0){ |
450 | + | fprintf(stderr, "Failed to lose setuid'ness\n"); |
451 | + | return 1; |
452 | + | } |
453 | + | #endif |
454 | ||
455 | while ((c = getopt(argc, argv, "vhd:")) != -1){ | |
456 | switch (c){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |