Ensure POSIX shell portability and fix formatting issues
This commit is contained in:
parent
7ede53c9e3
commit
59bd79d900
1 changed files with 2 additions and 2 deletions
|
@ -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" "$*"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue