From 5585eaa8b83c8785760400cb21f3b2f79359106f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 4 Nov 2016 14:49:50 +1100 Subject: [PATCH] General: If something can't be detected let the user know in verbose mode --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 0fe4e3de..a4f44be5 100755 --- a/neofetch +++ b/neofetch @@ -2309,7 +2309,10 @@ info() { fi # If the output is empty, don't print anything - [ -z "$output" ] && return + if [ -z "$output" ]; then + err "Info: Couldn't detect $subtitle" + return + fi # Trim whitespace output="$(trim "$output")"