فهرست منبع

Caught an extra error

arianagiroux 1 ماه پیش
والد
کامیت
cbfc841fa4
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      init.sh

+ 4 - 0
init.sh

@@ -11,6 +11,10 @@ cp writefreely*.tar* bootstrap/
 
 pushd bootstrap
 docker build -t writefreely-bootstrap .
+if [ $? -ne 0 ]; then									# catch errors
+	exit 1
+fi
+
 docker run -it --rm -v ./data:/data writefreely-bootstrap
 if [ $? -ne 0 ]; then									# catch errors
 	exit 1