From 39855752a540b04f530ce5d9303825503dd1603e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@seblu.net>
Date: Sun, 28 Jan 2018 01:28:12 +0100
Subject: [PATCH] update_config.sh: exit on error

When `makepkg --nobuild --force' fails there is no reason to try to run
`make oldconfig'.
---
 update_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_config.sh b/update_config.sh
index 1d2e0df..f761ddb 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
 
-- 
GitLab