Changed pmset test to use printf

pull/1080/head
Nils Winkler 2017-10-23 07:40:59 +02:00
parent b7b8a0afe0
commit a4824cc8c8
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function setup_pmset {
percent="$1"
function pmset {
echo "-InternalBattery-0 (id=12345) ""${percent}""; discharging; 16:00 remaining present: true"
printf "\-InternalBattery-0 (id=12345) %s; discharging; 16:00 remaining present: true" "${percent}"
}
}