fix linux extra pipe

This commit is contained in:
Stephen
2020-11-27 14:34:46 -08:00
parent f86a321035
commit 93af8e4547

View File

@@ -28,6 +28,10 @@ function shownetinfo() {
} }
function batt() { function batt() {
tput setaf 7
tput bold
echo -en " | "
tput sgr0
tput setaf 7; tput bold; echo -en "Bat: " tput setaf 7; tput bold; echo -en "Bat: "
tput sgr0 tput sgr0
tput setaf 7 tput setaf 7
@@ -41,8 +45,5 @@ function lab() {
tput sgr0 tput sgr0
tput setaf 7 tput setaf 7
echo -en $(curl -s https://thewhitehat.club/api/v1/status | jq ".data.status" | tr -d "\"") echo -en $(curl -s https://thewhitehat.club/api/v1/status | jq ".data.status" | tr -d "\"")
tput setaf 7
tput bold
echo -en " | "
tput sgr0 tput sgr0
} }