Die if a password file is missing

This commit is contained in:
Niten 2020-11-16 20:11:45 -08:00
parent bfad36c9d2
commit 939aa16231
1 changed files with 3 additions and 1 deletions

View File

@ -194,7 +194,9 @@
(defun read-file-line (filename)
(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 ()
(backplane-dns-listen