Skip to content

Commit

Permalink
get rid of unnecessary printf
Browse files Browse the repository at this point in the history
  • Loading branch information
shamrin committed May 26, 2015
1 parent 5a67ac1 commit 380e745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoreman.sh
Expand Up @@ -36,7 +36,7 @@ log() {
# Bash colors start from 31 up to 37. We calculate what color the process
# gets based on its index.
local color="$((31 + (index % 7)))"
format=$(printf "\033[0;%sm%%s %%s\t|\033[0m %%s" "$color")
format="\033[0;${color}m%s %s\t|\033[0m %s"
fi

while read -r data
Expand Down

0 comments on commit 380e745

Please sign in to comment.