Die if a password file is missing
This commit is contained in:
parent
bfad36c9d2
commit
939aa16231
|
@ -194,7 +194,9 @@
|
||||||
|
|
||||||
(defun read-file-line (filename)
|
(defun read-file-line (filename)
|
||||||
(let ((input (open filename :if-does-not-exist nil)))
|
(let ((input (open filename :if-does-not-exist nil)))
|
||||||
(read-line input)))
|
(if input
|
||||||
|
(read-line input)
|
||||||
|
(uiop:die 1 "unable to read file: ~A" filename))))
|
||||||
|
|
||||||
(defun start-listener-with-env ()
|
(defun start-listener-with-env ()
|
||||||
(backplane-dns-listen
|
(backplane-dns-listen
|
||||||
|
|
Loading…
Reference in New Issue