Remove newline in if statement

This commit is contained in:
Dylan 2016-02-06 02:36:00 +11:00
parent e6d8fc9c98
commit 84b8b04d83

3
fetch
View file

@ -1829,8 +1829,7 @@ info () {
underline_color title_color at_color underline_color title_color at_color
# Show/Hide subtitles # Show/Hide subtitles
[ "$stdout_subtitles" == "off" ] && \ [ "$stdout_subtitles" == "off" ] && string=${string/*: }
string=${string/*: }
# If the string isn't empty, print it. # If the string isn't empty, print it.
[ ! -z "$string" ] && printf "%s" "${string}${stdout_seperator}" [ ! -z "$string" ] && printf "%s" "${string}${stdout_seperator}"