From 3a96124e858dd0a6071cd7d44d8ced07e43b659e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 11 Jun 1993 22:04:22 +0000 Subject: [PATCH] moved around the #ifndef _AIX --- sudo.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sudo.c b/sudo.c index 49cae6b75..19f072650 100644 --- a/sudo.c +++ b/sudo.c @@ -101,14 +101,12 @@ if ( setuid(0) ) { exit(1); } rtn=validate(); -#ifdef _AIX -setruid(uid); -#else if ( setruid(uid) ) { +#ifndef _AIX perror("setruid(uid)"); exit(1); - } #endif + } switch ( rtn ) {