Verbose: Send error messages to stderr

This commit is contained in:
Dylan Araps 2016-12-20 22:36:54 +11:00
parent 136ea2ec6e
commit faf1c7d813

View file

@ -3357,7 +3357,7 @@ main() {
[[ "$scrot" == "on" ]] && take_scrot [[ "$scrot" == "on" ]] && take_scrot
# Show error messages. # Show error messages.
[[ "$verbose" == "on" ]] && printf "%b" "$err" [[ "$verbose" == "on" ]] && printf "%b" "$err" >&2
return 0 return 0
} }