Skip to content

Commit

Permalink
Colors in log
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed May 11, 2023
1 parent 9108541 commit d262d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -Eeuo pipefail
info () { echo -e "\E[1;34m❯ \E[1;36m$1\E[0m" ; }
error () { echo -e >&2 "\E[1;31m❯ ERROR: $1\E[0m" ; }

info "Starting Virtual DSM for Docker v${VERSION}..."
echo "Starting Virtual DSM for Docker v${VERSION}..."
trap 'error "Error status $? for: ${BASH_COMMAND} (line $LINENO/$BASH_LINENO)"' ERR

[ ! -f "/run/run.sh" ] && error "Script must run inside Docker container!" && exit 11
Expand Down

0 comments on commit d262d42

Please sign in to comment.