Standardize License information
[openafs.git] / src / kauth / test / background.c
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 main (argc, argv)
11   int   argc;
12   char *argv[];
13 {   int pid;
14
15     if (argc == 1) exit (-1);
16     if (pid = fork ()) {                /* parent */
17         printf ("%d", pid);
18         exit (0);
19     }
20     execve (argv[1], argv+1, 0);
21     perror ("execve returned");
22 }