projects
/
gatekeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10edc1
)
Explicitly return empty list from scan_incoming if no files found
author
Jacob Bachmeyer
<jcb@gnu.org>
Sat, 15 Oct 2022 02:33:22 +0000
(21:33 -0500)
committer
Jacob Bachmeyer
<jcb@gnu.org>
Sat, 15 Oct 2022 02:33:22 +0000
(21:33 -0500)
gatekeeper.pl
patch
|
blob
|
blame
|
history
diff --git
a/gatekeeper.pl
b/gatekeeper.pl
index 00ebe043f76ac02b5c8701a2a465db4d58d293c2..fcabbe5c1ec4f871156fac590552ebe4cf7cbdb2 100755
(executable)
--- a/
gatekeeper.pl
+++ b/
gatekeeper.pl
@@
-869,7
+869,7
@@
sub scan_incoming {
or ftp_die("FATAL: closedir($incoming_dir) failed: $!");
# No possible files found, so return before we call lsof
- return
@ret
unless %possible;
+ return
()
unless %possible;
# Determine if any of those possible files are open. We find the
# possible files before running lsof (partly) to avoid a race