From 0d0a2d1d9a41281a2c800798ed9818d899290b44 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Thu, 30 Apr 2020 09:37:50 +0200 Subject: [PATCH] Optimized messages --- sd_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sd_setup.sh b/sd_setup.sh index b58eda8..9f0f8de 100644 --- a/sd_setup.sh +++ b/sd_setup.sh @@ -26,7 +26,7 @@ destructor(){ } error(){ - echo "ERROR: $1 Leaving program." + echo "ERROR: $1 -> Leaving program." destructor exit 1; } @@ -144,7 +144,7 @@ fi echo "Verifying image..." if [[ -v image_checksum ]] then - echo "$image_checksum $image_path"| md5sum -c -|| error "Verification failed." + echo "$image_checksum $image_path"| md5sum -c -|| error "Verification failed. Delete image via \"rm $image_path\"." else warning "Verification is not possible. No checksum is define." fi