Script cleanups

This commit is contained in:
Jakob Borg
2014-09-16 23:26:52 +02:00
parent cbf758ead9
commit 6fdba3c02e
3 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ start() {
stop() {
for i in 1 2 3 4 ; do
curl -HX-API-Key:abc123 -X POST "http://127.0.0.1:808$i/rest/shutdown"
curl -s -o /dev/null -HX-API-Key:abc123 -X POST "http://127.0.0.1:808$i/rest/shutdown"
done
exit $1
}