Skip to content

Commit

Permalink
Fix a wrong hint reformatting in the last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
doublep committed May 1, 2024
1 parent 83c47ec commit 5bb986a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eldev.el
Original file line number Diff line number Diff line change
Expand Up @@ -5953,9 +5953,9 @@ See `eldev helper docker' for more information."
;; Using custom code instead of `:die-on-error' because of the hint.
(when (/= exit-code 0)
(signal 'eldev-error `(:hint ,(when (string-match-p "unavailable, simulating -nw" (buffer-string))
`(,(format "It appears your X server is not accepting connections from the %s container"
"Have you run `xhost +local:root' (remember about security issues, though)?"
type-name)))
`(,(concat "It appears your X server is not accepting connections from the %s container\n"
"Have you run `xhost +local:root' (remember about security issues, though)?")
,type-name))
,(format "%s process exited with error code %%d" type-name) ,exit-code))))
;; FIXME: Should we even do that? Preserving previous semantics for now.
(delete-directory (eldev--container-home type) t))))
Expand Down

0 comments on commit 5bb986a

Please sign in to comment.