This commit is contained in:
Jakub Jelinek 2005-02-12 08:51:45 +00:00
parent 5b50bf9a5f
commit e34deee202

View File

@ -17,10 +17,13 @@ int main(void)
pid_t pid;
int status;
char initpath[256];
const char *argv[2];
if (access ("/sbin/ldconfig", X_OK))
_exit (0);
execl ("/sbin/ldconfig", "/sbin/ldconfig", NULL);
argv[0] = "/sbin/ldconfig";
argv[1] = NULL;
execv ("/sbin/ldconfig", argv);
_exit (110);
}