make refresh.sh exit on errors

Change-Id: Ief301c621994fa00a9333d604b4d38a347778d8c
This commit is contained in:
zhaoxinyu 2014-08-06 18:28:26 -07:00
parent 3374ecfde3
commit d9d3a65518

@ -1,4 +1,5 @@
#!/bin/bash
set -e
/opt/compass/bin/manage_db.py createdb
service httpd restart
service rsyslog restart