From 848a033b817a39b6b88ca323fce1d180bd4d9803 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 22 Mar 2012 09:00:59 -0500 Subject: The -s flag includes staying quiet about missing files. --- toys/cmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') diff --git a/toys/cmp.c b/toys/cmp.c index 87fbe024..42325a17 100644 --- a/toys/cmp.c +++ b/toys/cmp.c @@ -87,6 +87,6 @@ out: void cmp_main(void) { - loopfiles(toys.optargs, do_cmp); + loopfiles_rw(toys.optargs, O_RDONLY, 0, toys.optflags&FLAG_s, do_cmp); } -- cgit v1.2.3