From: Felix Fietkau Date: Thu, 20 Apr 2006 00:33:40 +0000 (+0000) Subject: redirect find stderr to /dev/null in timestamp.pl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6336817a13f2b3dd95232fbbbebe513985a20294;p=openwrt%2Fstaging%2Fadrian.git redirect find stderr to /dev/null in timestamp.pl SVN-Revision: 3678 --- diff --git a/openwrt/scripts/timestamp.pl b/openwrt/scripts/timestamp.pl index f6b06bc7f3..1089221919 100755 --- a/openwrt/scripts/timestamp.pl +++ b/openwrt/scripts/timestamp.pl @@ -4,7 +4,7 @@ use strict; sub get_ts($) { my $path = shift; my $ts = 0; - open FIND, "find $path -not -path \\*.svn\\* -and -not -path \\*CVS\\* |"; + open FIND, "find $path -not -path \\*.svn\\* -and -not -path \\*CVS\\* 2>/dev/null |"; while () { open FILE, "<$_"; my @stat = stat FILE;