From 813ef8800bc57c0b7d7f13a975af600cd17b840f Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Fri, 25 Jan 2013 20:26:58 +0000 Subject: [PATCH] Minor cosmetic change. --- .run-boostrap-tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.run-boostrap-tests.sh b/.run-boostrap-tests.sh index 5c711b3..89e009d 100755 --- a/.run-boostrap-tests.sh +++ b/.run-boostrap-tests.sh @@ -23,6 +23,7 @@ COLUMNS=$(tput cols || 80) if [ $(whoami) != "root" ] ; then title="You need to run this script as root." line="$(printf "%${COLUMNS}s" "")" + printf "\033[1;31m%s\033[0m\n" "${line// /*}" printf "\033[1;31m%*s\033[0m\n" $(((${#title}+$COLUMNS)/2)) "$title" printf "\033[1;31m%s\033[0m\n" "${line// /*}" exit 1