Ensure POSIX shell portability and fix formatting issues

This commit is contained in:
Amelia Violetta 2025-05-21 19:39:49 +01:00
parent 7ede53c9e3
commit 59bd79d900

View file

@ -5,6 +5,6 @@ Y='\033[1;32m' #'1;32' is Yellow's ANSI color code
B='\033[0;34m' #'0;34' is Blue's ANSI color code
RESET='\033[0m'
function log_info {
printf "\n[$(date +%T)] [${G}Info$RESET] $1\n"
log_info() {
printf "\n[$(date +%T)] [${G}Info$RESET] %s\n" "$*"
}