]> Zhao Yanbai Git Server - minix.git/commitdiff
silence makewhatis in daily script
authorBen Gras <ben@minix3.org>
Fri, 10 Feb 2012 16:24:54 +0000 (17:24 +0100)
committerBen Gras <ben@minix3.org>
Fri, 10 Feb 2012 16:25:48 +0000 (17:25 +0100)
etc/usr/daily

index f7387145a1444481875706eb1adbdf1b1ffb6868..5b34d464ae843f681c2d9a67edcfe88eba656e2b 100755 (executable)
@@ -66,8 +66,8 @@ do
     fi
 done
 
-# Update manpage index
-/usr/libexec/makewhatis
+# Update manpage index but don't warn about nonexistant dirs
+/usr/libexec/makewhatis 2>/dev/null
 
 # Continue with a local script if present.
 test -f /usr/local/etc/daily && sh /usr/local/etc/daily $caller