1
0
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:
Wolfram Schneider 1997-08-29 11:40:00 +00:00
parent d3e65fbc89
commit 5d7128668c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28891

View File

@ -204,7 +204,7 @@ main(argc, argv)
}
if (errno)
err(1, "fts_read");
exit(0);
exit(rval);
}
typedef struct _ID {