utils: 'find-files' always returns a proper list.

Reported at <http://bugs.gnu.org/15608>.

* guix/build/utils.scm (find-files): Change the 'error' procedure to
  return RESULT.  Before we would end up with an improper list.
This commit is contained in:
Ludovic Courtès 2013-10-16 15:53:59 +02:00
parent 8f557fc8b7
commit f1352766fa
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ matches REGEXP."
(lambda (file stat errno result)
(format (current-error-port) "find-files: ~a: ~a~%"
file (strerror errno))
#f)
result)
'()
dir)
string<?))