diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 995860b04b8..8c0724c3dda 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -204,7 +204,7 @@ main(argc, argv) } if (errno) err(1, "fts_read"); - exit(0); + exit(rval); } typedef struct _ID {