fix(cli): reference to free variable id

Fix: #6791
This commit is contained in:
Henrik Lissner 2022-09-16 19:04:35 +02:00
parent 3ba56eb008
commit 0694be43ee
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -225,7 +225,7 @@ is non-nil, refresh the cache."
(if (or noninteractive
(file-equal-p user-emacs-directory "~/.config/emacs")
(file-equal-p user-emacs-directory "~/.emacs.d"))
(user-error "Failed to find profile: %s" id)
(user-error "Failed to find profile: %s" (getenv "DOOMPROFILE"))
(user-error "To be a bootloader, Doom must be installed in ~/.config/emacs or ~/.emacs.d"))))))
:mode #o600
:printfn #'pp)