diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
| commit | 9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc (patch) | |
| tree | b5a6ada1388aeb7553694b736fde6dc7d114dbff /usr.bin/nice | |
| parent | adbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff) | |
Notes
Diffstat (limited to 'usr.bin/nice')
| -rw-r--r-- | usr.bin/nice/nice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/nice/nice.c b/usr.bin/nice/nice.c index 300dc873d895..c731ca9a1a0d 100644 --- a/usr.bin/nice/nice.c +++ b/usr.bin/nice/nice.c @@ -67,12 +67,13 @@ main(argc, argv) if (argc < 2) usage(); - if (argv[1][0] == '-') + if (argv[1][0] == '-') { if (argv[1][1] == '-' || isdigit(argv[1][1])) { niceness = atoi(argv[1] + 1); ++argv; } else errx(1, "illegal option -- %s", argv[1]); + } if (argv[1] == NULL) usage(); |
