diff options
author | Matt Kraai | 2000-08-01 18:16:56 +0000 |
---|---|---|
committer | Matt Kraai | 2000-08-01 18:16:56 +0000 |
commit | 0f8f7b8a35cc87965272f53bf9b504866e6e0692 (patch) | |
tree | 3c8ee3716604d3a4e86a0fbde01d0caad7b88caf /utility.c | |
parent | 98bbd688a80627ec4071b7c819ee2116f5ecc6d4 (diff) | |
download | busybox-0f8f7b8a35cc87965272f53bf9b504866e6e0692.zip busybox-0f8f7b8a35cc87965272f53bf9b504866e6e0692.tar.gz |
Fix bug 1017, which reports that insmod segfaults when /lib/modules doesn't
exist. Also allow early search termination (per the comments).
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -641,7 +641,7 @@ int recursiveAction(const char *fileName, status = recursiveAction(nextFile, TRUE, followLinks, depthFirst, fileAction, dirAction, userData); - if (status < 0) { + if (status == FALSE) { closedir(dir); return FALSE; } |