redirect find stderr to /dev/null in timestamp.pl
authorFelix Fietkau <nbd@openwrt.org>
Thu, 20 Apr 2006 00:33:40 +0000 (00:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 20 Apr 2006 00:33:40 +0000 (00:33 +0000)
SVN-Revision: 3678

openwrt/scripts/timestamp.pl

index f6b06bc7f395acceb33e50bd2e58926fc154c698..10892219196ce7c164cbd069ea59635cf93890a8 100755 (executable)
@@ -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 (<FIND>) {
                open FILE, "<$_";
                my @stat = stat FILE;