summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2011-12-14 22:45:49 +0100
committerChristian Franke <nobody@nowhere.ws>2012-01-12 11:59:28 +0100
commitb2399981d30e4c68db5f4655a2363b05869581db (patch)
tree6d092c4650a0ce1ac0959b9f3b9f485346201d81 /scripts
parent355aa41ab40c39ddb149a49282fc9d2c003d5eed (diff)
Fix pingscript :/
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pingscript2
1 files changed, 1 insertions, 1 deletions
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"
}