Commit 5585eaa8 authored by Dylan Araps's avatar Dylan Araps

General: If something can't be detected let the user know in verbose mode

parent 971616f0
...@@ -2309,7 +2309,10 @@ info() { ...@@ -2309,7 +2309,10 @@ info() {
fi fi
# If the output is empty, don't print anything # 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 # Trim whitespace
output="$(trim "$output")" output="$(trim "$output")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment