From b2399981d30e4c68db5f4655a2363b05869581db Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Wed, 14 Dec 2011 22:45:49 +0100 Subject: Fix pingscript :/ --- scripts/pingscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/pingscript') diff --git a/scripts/pingscript b/scripts/pingscript index 55e0b65..bfdbbc7 100755 --- a/scripts/pingscript +++ b/scripts/pingscript @@ -22,7 +22,7 @@ insertstatus() { apistatus() { [ -d "${WEBPATH}/public/api" ] || mkdir -p "${WEBPATH}/public/api" if [ "`cat \"${WEBPATH}/public/api/status\" 2>/dev/null`" != "$1" ]; then - wget -q http://127.0.0.1:8042/send "--post-data=message=sublab status is now: $1" + wget -q http://127.0.0.1:8042/send -O /dev/null "--post-data=message=sublab status is now: $1" fi echo $1 > "${WEBPATH}/public/api/status" } -- cgit v1.2.1