From d863bdc05962e00df2d20d44c4adb83e69ddb561 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sat, 17 Oct 2020 15:26:21 +0200 Subject: [PATCH] Justfile: improve error handling in rebuild-disk recipe --- Justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Justfile b/Justfile index ccb5215..c58d80b 100755 --- a/Justfile +++ b/Justfile @@ -150,8 +150,8 @@ rebuild-disk device: set -xe just -v disk-mount {{device}} + trap "set +e; just -v disk-umount {{device}}" EXIT just -v disk-install {{device}} - just -v disk-umount {{device}} # Re-render the versions of the given offline system and reinstall it in offline-mode update-disk dir: