diff options
author | Rob Landley <rob@landley.net> | 2008-01-01 02:39:29 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-01-01 02:39:29 -0600 |
commit | 3632d5d8fe05d14da983e37c7cd34db0769e6238 (patch) | |
tree | 827d765db2ecb144765d22b313555e9f003bcddf /lib | |
parent | 11586a93b54c4c87d7ee5023aa62c34406b9336a (diff) | |
download | toybox-3632d5d8fe05d14da983e37c7cd34db0769e6238.tar.gz |
Fix loopfiles to not call function() on file not found.0.0.4
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -600,6 +600,7 @@ void loopfiles(char **argv, void (*function)(int fd, char *name)) else if (0>(fd = open(*argv, O_RDONLY))) { perror_msg("%s",*argv); toys.exitval = 1; + continue; } function(fd, *argv); close(fd); |