[build] Fail on errors

This commit is contained in:
Jonathan Budzenski 2016-05-10 10:47:07 -05:00
parent 6c6e4d31ff
commit f9033a1c6e
4 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh
set -e
user_check() {
getent passwd "$1" > /dev/null 2>&1

View file

@ -1,4 +1,5 @@
#!/bin/sh
set -e
user_check() {
getent passwd "$1" > /dev/null 2>&1

View file

@ -1,4 +1,5 @@
#!/bin/sh
set -e
if command -v systemctl >/dev/null && systemctl is-active kibana.service >/dev/null; then
systemctl --no-reload stop kibana.service

View file

@ -1,4 +1,5 @@
#!/bin/sh
set -e
echo -n "Stopping kibana service..."
if command -v systemctl >/dev/null && systemctl is-active kibana.service >/dev/null; then