mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
prevent files named ".nfs[something]" from being displayed when failing
This commit is contained in:
parent
7119679080
commit
20057aee2e
@ -1653,6 +1653,9 @@ sub displaylogs {
|
||||
foreach $log (sort @logs) {
|
||||
# the log file is not "." or ".." and contains more than zero bytes
|
||||
if(($log !~ /\.(\.|)$/) && -s "$LOGDIR/$log") {
|
||||
if($log =~ /^\.nfs/) {
|
||||
next;
|
||||
}
|
||||
print "== Start of file $log\n";
|
||||
displaylogcontent("$LOGDIR/$log");
|
||||
print "== End of file $log\n";
|
||||
|
Loading…
Reference in New Issue
Block a user