Commit 7ab91cd4 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Lets not delete the NS file is it happens to look like a log file!

parent f0629901
...@@ -1022,6 +1022,10 @@ sub CleanLogFiles($) ...@@ -1022,6 +1022,10 @@ sub CleanLogFiles($)
closedir(DIR); closedir(DIR);
foreach my $file (@files) { foreach my $file (@files) {
# Just in case ...
next
if ($file =~ /^.*\.ns$/);
push(@delete, "${workdir}/$1") push(@delete, "${workdir}/$1")
if ($file =~ /^(.*\.(log|ptop|top|assign))$/); if ($file =~ /^(.*\.(log|ptop|top|assign))$/);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment