diff --git a/update_config.sh b/update_config.sh
index 1d2e0dfbc1c91bc614a49d679931397098ba76cf..f761ddb6f86fb53423e29447c913313d8a9a2cf4 100755
--- a/update_config.sh
+++ b/update_config.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
 
 [[ -e src/linux/.config ]] || makepkg --nobuild --force