mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
redirect find stderr to /dev/null in timestamp.pl
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3678 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
665ed0f72c
commit
95011de871
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user