mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
du(1) always exit with value zero.
$ du /foobar du: /foobar: No such file or directory $ echo $? 0
This commit is contained in:
parent
d3e65fbc89
commit
5d7128668c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28891
@ -204,7 +204,7 @@ main(argc, argv)
|
||||
}
|
||||
if (errno)
|
||||
err(1, "fts_read");
|
||||
exit(0);
|
||||
exit(rval);
|
||||
}
|
||||
|
||||
typedef struct _ID {
|
||||
|
Loading…
Reference in New Issue
Block a user