mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 02:46:10 +02:00
Error out when asked to load a non-existing file.
This commit is contained in:
parent
de1afc7416
commit
98a7eb12a5
@ -162,8 +162,11 @@
|
||||
part root))
|
||||
(if (probe-file candidate) candidate
|
||||
(error "File does not exists: '~a'." candidate))))
|
||||
(:filename (if (fad:pathname-absolute-p part) part
|
||||
(merge-pathnames part root))))))
|
||||
(:filename (let ((filename
|
||||
(if (fad:pathname-absolute-p part) part
|
||||
(merge-pathnames part root))))
|
||||
(if (probe-file filename) filename
|
||||
(error "File does not exists: '~a'." filename)))))))
|
||||
|
||||
|
||||
;;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user