From de4326f4d48e7098c7610f2b75641b8fcddadbc7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 19 Oct 2017 10:47:12 +0200 Subject: [PATCH] exit immediately on error Intermittent errors (due to broker network connectivity, key server failure, whatever ...) could result in an incomplete keyring. So exit immediately on error. --- update-keys | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update-keys b/update-keys index c0e754f..d13b695 100755 --- a/update-keys +++ b/update-keys @@ -1,5 +1,7 @@ #!/bin/bash +set -e + export LANG=C TMPDIR=$(mktemp -d)