diff --git a/eshell-info-banner.el b/eshell-info-banner.el index 6d09734..fdffd3a 100644 --- a/eshell-info-banner.el +++ b/eshell-info-banner.el @@ -297,9 +297,8 @@ the warning face with a battery level of 25% or less." "Read the operating system from the given RELEASE-FILE. If RELEASE-FILE is nil, use '/etc/os-release'." - (setq release-file (or release-file "/etc/os-release")) (with-temp-buffer - (insert-file-contents release-file) + (insert-file-contents (or release-file "/etc/os-release")) (goto-char (point-min)) (re-search-forward "PRETTY_NAME=\"\\(.*\\)\"") (match-string 1)))