Be proper: Use glob not <>.
This commit is contained in:
1 parent
c1e1a32589
commit
2a0c7360f0
1 file changed
+1
-1
+1
-1
@@ -86,7 +86,7 @@ sub expire_logs
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Iterate through each logfile.
|
# Iterate through each logfile.
|
||||||
foreach my $file (<$Auto::Bin/../var/*>) {
|
foreach my $file (glob "$Auto::Bin/../var/*") {
|
||||||
my (undef, $file) = split('bin/../var/', $file);
|
my (undef, $file) = split('bin/../var/', $file);
|
||||||
|
|
||||||
# Convert filename to UNIX time.
|
# Convert filename to UNIX time.
|
||||||
|
|||||||
Reference in new issue
Block a user