aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.c')
-rw-r--r--lib/lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.c b/lib/lib.c
index 6699a685..cea3e4b1 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -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);