diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-03 03:34:35 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-03 03:34:35 +0000 |
commit | da571eddeffe06d5043adb3b9331e895b69fad73 (patch) | |
tree | 4c6e244afc04583b641272e510de86d0cdb19db3 /usr.bin/at/at.c | |
parent | bdb225d16306c35f7fd9f61e00fd163478e08a79 (diff) |
cleanup
Diffstat (limited to 'usr.bin/at/at.c')
-rw-r--r-- | usr.bin/at/at.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 79e50a41068..2e699fb1908 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -1,4 +1,4 @@ -/* $OpenBSD: at.c,v 1.10 1997/03/03 03:31:10 millert Exp $ */ +/* $OpenBSD: at.c,v 1.11 1997/03/03 03:34:34 millert Exp $ */ /* $NetBSD: at.c,v 1.4 1995/03/25 18:13:31 glass Exp $ */ /* @@ -73,7 +73,7 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */ /* File scope variables */ #ifndef lint -static char rcsid[] = "$OpenBSD: at.c,v 1.10 1997/03/03 03:31:10 millert Exp $"; +static char rcsid[] = "$OpenBSD: at.c,v 1.11 1997/03/03 03:34:34 millert Exp $"; #endif char *no_export[] = @@ -678,15 +678,10 @@ main(argc, argv) break; case ATRM: - if (optind == argc) - usage(); - process_jobs(argc, argv, ATRM); - break; - case CAT: if (optind == argc) usage(); - process_jobs(argc, argv, CAT); + process_jobs(argc, argv, program); break; case AT: |