From c7a3a2d809eb209b3017d83666de3375e438832f Mon Sep 17 00:00:00 2001
From: Marco Ciotola <848222@stud.unive.it>
Date: Sun, 17 Feb 2019 16:46:25 +0100
Subject: [PATCH] Do not try to run more commands if any fails

---
 reset.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/reset.sh b/reset.sh
index f7ad853..52141e1 100755
--- a/reset.sh
+++ b/reset.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+set -e  # Exit immediately if a command exits with a non-zero status.
 dropdb helios
 createdb helios
 python manage.py syncdb
-- 
GitLab