summaryrefslogtreecommitdiff
path: root/scripts/pingscript
diff options
context:
space:
mode:
authorkloschi klosch <klosch@netresearch.de>2012-02-02 21:56:19 +0100
committerkloschi klosch <klosch@netresearch.de>2012-02-02 21:56:19 +0100
commit76f5eb72cda67da497ea4ba992778661559f26b4 (patch)
treeee6875ff52dfb6b09df037095e254c6f8a8fc531 /scripts/pingscript
parent343edab3eb5284dd0ec236883974f16b486e6e3b (diff)
parent002ccb53e6319619d503972c2a6bad0d4ead0c6f (diff)
Merge branch 'master' of sublab.org:website
Conflicts: public/img/onewire/digitemp.jpg template/news/2011-12-07-frieren.html template/pages/projekte/content.html template/pages/verein/content.html template/pages/vokue/content.html template/template/template.html template/topic/topic
Diffstat (limited to 'scripts/pingscript')
-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"
}