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/touch | |
| parent | adbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff) | |
Notes
Diffstat (limited to 'usr.bin/touch')
| -rw-r--r-- | usr.bin/touch/touch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c index 30d367700ced..b56b05f4cd6c 100644 --- a/usr.bin/touch/touch.c +++ b/usr.bin/touch/touch.c @@ -129,7 +129,7 @@ main(argc, argv) for (rval = 0; *argv; ++argv) { /* See if the file exists. */ - if (stat(*argv, &sb)) + if (stat(*argv, &sb)) { if (!cflag) { /* Create the file. */ fd = open(*argv, @@ -145,6 +145,7 @@ main(argc, argv) continue; } else continue; + } if (!aflag) TIMESPEC_TO_TIMEVAL(&tv[0], &sb.st_atimespec); |
