remove empty line
This commit is contained in:
parent
50b4ecf44b
commit
e7d8f073a4
1 changed files with 1 additions and 1 deletions
|
@ -12,4 +12,4 @@ dir="$(dirname $(realpath "$0"))"
|
|||
url="$(""$dir"/url.sh" "/systemd" "$1")"
|
||||
|
||||
printf "> sending POST request to \'$url\'...${FONT_BOLD}"
|
||||
[ "$(curl -X POST -s -f -w "\n%{http_code}" "$url" -d "state=toggle" | tail -n1)" -ne 200 ] && printf " error!\n" || printf " done!\n"
|
||||
[ "$(curl -X POST -s -f -w "\n%{http_code}" "$url" -d "state=toggle" | tail -n1)" -ne 200 ] && printf " error!\n" || printf " done!\n"
|
Loading…
Reference in a new issue