From 658c33bc2acdbfb7269186398694f19f3617f875 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 21 Sep 2019 14:18:29 -0400 Subject: [PATCH] bin/doom-doctor: fix shell command output --- bin/doom-doctor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doom-doctor b/bin/doom-doctor index ef191a474..59e735e8a 100755 --- a/bin/doom-doctor +++ b/bin/doom-doctor @@ -43,7 +43,7 @@ (defun sh (cmd &rest args) (ignore-errors (string-trim-right - (shell-command-to-string (apply #'format cmd args))))) + (shell-command-to-string (if args (apply #'format cmd args) cmd))))) (defun elc-check-dir (dir) (dolist (file (directory-files-recursively dir "\\.elc$"))