From 2580a37a4fcb77ee9def171e8ada6ae8cf301be1 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sat, 6 Nov 2010 22:17:19 -0500 Subject: [PATCH] remove duplicate percent --- usr/lib/byobu/raid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/byobu/raid b/usr/lib/byobu/raid index e8882e3e..3c0f5e04 100755 --- a/usr/lib/byobu/raid +++ b/usr/lib/byobu/raid @@ -34,10 +34,10 @@ fi if grep -qs \% /proc/mdstat; then p=$(grep \% /proc/mdstat | sed -e "s/\%.*//" -e "s/.* //") - sync=",$p%%" + sync=",$p%" fi if [ -n "$msg" ]; then - printf "$(color B w r)%s%s$(color -)" "$msg" "$sync" + printf "$(color B w r)%s%s$(color -) " "$msg" "$sync" fi