diff options
| author | Andreas Schulz <ats@FreeBSD.org> | 1994-08-28 18:34:50 +0000 |
|---|---|---|
| committer | Andreas Schulz <ats@FreeBSD.org> | 1994-08-28 18:34:50 +0000 |
| commit | a8c32ea5a1a64cfc0983402b2ff6a600915fc38b (patch) | |
| tree | c570b8ce1e2a9fcf6b91f0fb9c5ef3d46122c658 | |
| parent | 85b64443ae0ae580e6f8b9b2ddb8b54c2a4a6435 (diff) | |
Notes
| -rw-r--r-- | bin/rm/rm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index 4cdf055d4bae..08016fd78b09 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -141,8 +141,8 @@ rm_tree(argv) #define SKIPPED 1 if (!(fts = fts_open(argv, - needstat ? FTS_PHYSICAL : FTS_PHYSICAL|FTS_NOSTAT, - (int (*)())NULL))) + needstat ? FTS_PHYSICAL|FTS_NOCHDIR : + FTS_PHYSICAL|FTS_NOSTAT|FTS_NOCHDIR, (int (*)())NULL))) err(1, NULL); while ((p = fts_read(fts)) != NULL) { switch (p->fts_info) { |
