From f37b1342a2a6a24c78f392b61cb4db0c0c34f112 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 16 Apr 2019 20:51:32 -0400 Subject: [PATCH] Don't show hostname in doom info or doctor output It doesn't help me, and some folks may not want it publicized. --- bin/doom-doctor | 2 +- core/autoload/debug.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/doom-doctor b/bin/doom-doctor index 98144dcf3..3f30fb1fb 100755 --- a/bin/doom-doctor +++ b/bin/doom-doctor @@ -123,7 +123,7 @@ (color 31 " (mismatch)"))) (when (boundp 'system-configuration-features) (message "Compiled with:\n%s" (indented 2 system-configuration-features))) -(message "uname -a:\n%s\n" (indented 2 (sh "uname -a"))) +(message "uname -msrv:\n%s\n" (indented 2 (sh "uname -msrv"))) ;; --- is emacs set up properly? ------------------------------ diff --git a/core/autoload/debug.el b/core/autoload/debug.el index 16c0f95d7..6638fb8de 100644 --- a/core/autoload/debug.el +++ b/core/autoload/debug.el @@ -47,7 +47,7 @@ ready to be pasted in a bug report on github." (if IS-WINDOWS "n/a" (with-temp-buffer - (unless (zerop (call-process "uname" nil t nil "-a")) + (unless (zerop (call-process "uname" nil t nil "-msrv")) (insert (format "%s" system-type))) (string-trim (buffer-string)))) (or (cl-loop with cat = nil