From 8b5530be21a8e28e3e2c1b9917ca3645fbd13398 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 15 Apr 2021 08:32:23 -0500 Subject: Create fail and success functions and remove trailing white spaces at ends of lines. --- essential.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'essential.sh') diff --git a/essential.sh b/essential.sh index 422e2a4..3384917 100644 --- a/essential.sh +++ b/essential.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -e +set -e pushd "${LFS}" >/dev/null || exit 1 @@ -63,7 +63,7 @@ EOF' } >"${LFS}"/sources/log/essential.log 2>&1 sudo touch sources/essential - sudo printf "%b" "${IGRN}OK${RST}\n" + success "OK" fi -- cgit v1.2.3-54-g00ecf