From ef395c4443b713e9440eb962846db04dac918be3 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 2 Jun 2018 08:09:49 +0200 Subject: [PATCH] error message tells error source --- src/func/config_check | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/func/config_check b/src/func/config_check index 9b03322..f99d289 100755 --- a/src/func/config_check +++ b/src/func/config_check @@ -24,7 +24,7 @@ function config_check() { echo 'iso_source -> squashfs' else # ERROR - echo "No corect AIM in Settings" + echo "Settings: No corect AIM" return 3 fi fi @@ -32,14 +32,14 @@ function config_check() { if [ -f "$squashfs_path" ]; then if [ -n "$iso_aim" ]; then # ERROR - echo "only Squashfs source in Settings, cant creat ISO" + echo "Settings: only Squashfs source in Settings, cant creat ISO" return 3 else echo 'squashfs -> squashfs' fi else # ERROR - echo "No corect Source in Settings" + echo "Settings: No corect Source" return 3 fi fi