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;