2
* Copyright (C) 2002-2005 Novell/SUSE
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation, version 2 of the
13
#include <sys/types.h>
18
int main(int argc, char *argv[])
20
extern char **environ;
23
fprintf(stderr, "usage: %s program [args] \n", argv[0]);
27
(void)execve(argv[1], &argv[1], environ);
29
fprintf(stderr, "FAILED: exec failed %s\n", strerror(errno));