From bfbe92236afef0db62e116d2d5f445f635e7aecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 14 Feb 2008 11:44:54 +0000 Subject: [PATCH] Remove remaining `abort ()'. svn path=/nixos/trunk/; revision=10680 --- helpers/setuid/setuid-wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/setuid/setuid-wrapper.c b/helpers/setuid/setuid-wrapper.c index 142dc2331a73..30452fc7b7b8 100644 --- a/helpers/setuid/setuid-wrapper.c +++ b/helpers/setuid/setuid-wrapper.c @@ -37,7 +37,7 @@ int main(int argc, char * * argv) //printf("%d %d\n", geteuid(), getegid()); struct stat st; - if (lstat(self, &st) == -1) abort(); + assert (lstat(self, &st) != -1); //printf("%d %d\n", st.st_uid, st.st_gid);