general: Add neofetch version to verbose output.

This commit is contained in:
dylan araps 2017-12-13 11:30:17 +11:00
parent ed05c6460b
commit 9b5d75907b

View file

@ -4764,8 +4764,9 @@ main() {
# Take a screenshot.
[[ "$scrot" == "on" ]] && take_scrot
# Add neofetch command to verbose output.
# Add neofetch info to verbose output.
err "Neofetch command: $0 $*"
err "Neofetch version: $version"
# Show error messages.
[[ "$verbose" == "on" ]] && printf "%b" "$err" >&2