Changed pmset test to use printf

This commit is contained in:
Nils Winkler
2017-10-23 07:40:59 +02:00
parent b7b8a0afe0
commit a4824cc8c8

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}"
}
}