From e7d8f073a40ca491fdfcc369b342dc2747593b88 Mon Sep 17 00:00:00 2001 From: velvettear Date: Wed, 30 Mar 2022 15:33:54 +0200 Subject: [PATCH] remove empty line --- toggle-systemd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toggle-systemd.sh b/toggle-systemd.sh index 7dfb51f..c588512 100755 --- a/toggle-systemd.sh +++ b/toggle-systemd.sh @@ -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" \ No newline at end of file