From 662a267c9b52f256b027d0f176a846b1d973ab99 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 2 Jan 2013 02:00:35 -0600 Subject: Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to. --- toys/posix/expand.c | 1 - 1 file changed, 1 deletion(-) (limited to 'toys/posix/expand.c') diff --git a/toys/posix/expand.c b/toys/posix/expand.c index 789364bb..7bc37169 100644 --- a/toys/posix/expand.c +++ b/toys/posix/expand.c @@ -39,7 +39,6 @@ static void expand_file(int fd, char *name) len = read(fd, toybuf, sizeof(toybuf)); if (len<0) { perror_msg("%s", name); - toys.exitval = 1; return; } if (!len) break; -- cgit v1.2.3