From 33f25c2762b8a4d175f8590517123a353ec42560 Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sat, 2 Nov 2024 22:31:25 +0500 Subject: [PATCH] makelni: exit if lon-tool fails --- makelni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makelni b/makelni index 3575544..35289f0 100755 --- a/makelni +++ b/makelni @@ -119,6 +119,6 @@ log "Trimming image" trim_image "$name" || _shutdown 1 log "Creating lni image" -lon-tool image create "$IMAGE_PATH" "./out/${name}.lni" --name "$name" -v "$imgver" +lon-tool image create "$IMAGE_PATH" "./out/${name}.lni" --name "$name" -v "$imgver" || exit $? log "Image build finished"