diff options
author | Rob Landley <rob@landley.net> | 2013-01-02 02:00:35 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-01-02 02:00:35 -0600 |
commit | 662a267c9b52f256b027d0f176a846b1d973ab99 (patch) | |
tree | 1ff58749c737a283a199e1e567894fe16a9d0ce5 /toys/posix/cut.c | |
parent | 090c5c607ec682e5cfc03bbc745cd1ed28d5d6ce (diff) | |
download | toybox-662a267c9b52f256b027d0f176a846b1d973ab99.tar.gz |
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.
Diffstat (limited to 'toys/posix/cut.c')
-rw-r--r-- | toys/posix/cut.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/cut.c b/toys/posix/cut.c index af4a1d9a..6f813102 100644 --- a/toys/posix/cut.c +++ b/toys/posix/cut.c @@ -127,7 +127,6 @@ static void get_data(void) int fd = open(*argv, O_RDONLY, 0); if(fd < 0) {//if file not present then continue with other files. perror_msg(*argv); - toys.exitval = EXIT_FAILURE; continue; } do_cut(fd); |