Final change to the flow. Removing \n and -n

This commit is contained in:
Cody Cook 2019-06-12 16:06:17 -07:00
commit 195f975113

View file

@ -32,7 +32,7 @@ get_tools() {
} }
check_problem() { check_problem() {
usrmsg "Querying the SMBus for its current status...\n" usrmsg "Querying the SMBus for its current status..."
problem=$($inb 0xf00f) problem=$($inb 0xf00f)
validate_problem validate_problem
} }
@ -49,12 +49,12 @@ fi
fix() { fix() {
attempts=$((attempts+1)) attempts=$((attempts+1))
usrmsg -n "Attempt $attempts at fixing the SMBus..." usrmsg "Attempt $attempts at fixing the SMBus..."
sleep 1 sleep 1
usrmsg -n " (#3)... " usrmsg " (#3)... "
"$outb" 0xf00f 3 2>/dev/null "$outb" 0xf00f 3 2>/dev/null
sleep 1 sleep 1
usrmsg -n " (#7)... " usrmsg " (#7)... "
"$outb" 0xf00f 7 2>/dev/null "$outb" 0xf00f 7 2>/dev/null
sleep 1 sleep 1
usrmsg " fix applied." usrmsg " fix applied."