redirect find stderr to /dev/null in timestamp.pl

SVN-Revision: 3678
owl
Felix Fietkau 2006-04-20 00:33:40 +00:00
parent 6d35e9d0f5
commit 6336817a13
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ use strict;
sub get_ts($) { sub get_ts($) {
my $path = shift; my $path = shift;
my $ts = 0; 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 (<FIND>) { while (<FIND>) {
open FILE, "<$_"; open FILE, "<$_";
my @stat = stat FILE; my @stat = stat FILE;