diff options
author | Matt Kraai <kraai@debian.org> | 2000-08-01 18:16:56 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-08-01 18:16:56 +0000 |
commit | 0f8f7b8a35cc87965272f53bf9b504866e6e0692 (patch) | |
tree | 3c8ee3716604d3a4e86a0fbde01d0caad7b88caf /utility.c | |
parent | 98bbd688a80627ec4071b7c819ee2116f5ecc6d4 (diff) | |
download | busybox-w32-0f8f7b8a35cc87965272f53bf9b504866e6e0692.tar.gz busybox-w32-0f8f7b8a35cc87965272f53bf9b504866e6e0692.tar.bz2 busybox-w32-0f8f7b8a35cc87965272f53bf9b504866e6e0692.zip |
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, | |||
641 | status = | 641 | status = |
642 | recursiveAction(nextFile, TRUE, followLinks, depthFirst, | 642 | recursiveAction(nextFile, TRUE, followLinks, depthFirst, |
643 | fileAction, dirAction, userData); | 643 | fileAction, dirAction, userData); |
644 | if (status < 0) { | 644 | if (status == FALSE) { |
645 | closedir(dir); | 645 | closedir(dir); |
646 | return FALSE; | 646 | return FALSE; |
647 | } | 647 | } |