Changed pmset test to use printf
parent
b7b8a0afe0
commit
a4824cc8c8
|
|
@ -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}"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue