blob: 5f9766695608c861b6f4cf9db587be3c41a7f331 [file] [log] [blame]
thughes4b9e0152004-06-19 13:02:34 +00001#include <stdio.h>
2#include <stdlib.h>
3#include <unistd.h>
4
5int main(int argc, char **argv)
6{
7 if (argc == 1)
8 {
thughes7f72d012004-07-21 16:23:38 +00009 if (execve(argv[0], NULL, NULL) < 0)
thughes4b9e0152004-06-19 13:02:34 +000010 {
11 perror("execve");
12 exit(1);
13 }
14 }
15
16 exit(0);
17}