commit | 848a033b817a39b6b88ca323fce1d180bd4d9803 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Mar 22 09:00:59 2012 -0500 |
committer | Rob Landley <rob@landley.net> | Thu Mar 22 09:00:59 2012 -0500 |
tree | d83db3fae912a6d3b58938455fe990e36960d6e9 | |
parent | 66b0f99d0c0b1d9ad9dcee265081f884b3d949ce [diff] |
The -s flag includes staying quiet about missing files.
diff --git a/toys/cmp.c b/toys/cmp.c index 87fbe02..42325a1 100644 --- a/toys/cmp.c +++ b/toys/cmp.c
@@ -87,6 +87,6 @@ void cmp_main(void) { - loopfiles(toys.optargs, do_cmp); + loopfiles_rw(toys.optargs, O_RDONLY, 0, toys.optflags&FLAG_s, do_cmp); }