diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-09 17:07:12 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-09 17:07:12 +0000 |
commit | 2ee5e125bc255212012528d8d6118a0a9844d90a (patch) | |
tree | 3bfb41d97261b609beb0b57bf1e01a6c65beab6e /du.c | |
parent | 2ae1217e141b45d28aa20a67303b98aadad39067 (diff) | |
download | busybox-w32-2ee5e125bc255212012528d8d6118a0a9844d90a.tar.gz busybox-w32-2ee5e125bc255212012528d8d6118a0a9844d90a.tar.bz2 busybox-w32-2ee5e125bc255212012528d8d6118a0a9844d90a.zip |
Fix problem where 'du file_that_exists' doesn't work.
git-svn-id: svn://busybox.net/trunk/busybox@1412 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'du.c')
-rw-r--r-- | du.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,7 +156,7 @@ int du_main(int argc, char **argv) | |||
156 | for (i=optind; i < argc; i++) { | 156 | for (i=optind; i < argc; i++) { |
157 | if ((sum = du(argv[i])) == 0) | 157 | if ((sum = du(argv[i])) == 0) |
158 | status = EXIT_FAILURE; | 158 | status = EXIT_FAILURE; |
159 | if (sum && is_directory(argv[i], FALSE, NULL)) { | 159 | if (is_directory(argv[i], FALSE, NULL)==FALSE) { |
160 | print_normal(sum, argv[i]); | 160 | print_normal(sum, argv[i]); |
161 | } | 161 | } |
162 | reset_ino_dev_hashtable(); | 162 | reset_ino_dev_hashtable(); |
@@ -166,7 +166,7 @@ int du_main(int argc, char **argv) | |||
166 | return status; | 166 | return status; |
167 | } | 167 | } |
168 | 168 | ||
169 | /* $Id: du.c,v 1.29 2000/12/07 19:56:48 markw Exp $ */ | 169 | /* $Id: du.c,v 1.30 2000/12/09 17:07:12 andersen Exp $ */ |
170 | /* | 170 | /* |
171 | Local Variables: | 171 | Local Variables: |
172 | c-file-style: "linux" | 172 | c-file-style: "linux" |