This commit is contained in:
parent
d32f48031d
commit
b36f0d0dff
2
script
2
script
|
@ -52,7 +52,7 @@ log() {
|
|||
while getopts "tl:" option; do
|
||||
case "${option}" in
|
||||
l) LEVEL="$OPTARG"; shift $((OPTIND-1));;
|
||||
t) TIME="$(printf "[%s] " "$(date +'%Y-%m-%dT%H:%m:%S.%s')")"; shift $((OPTIND-1));;
|
||||
t) TIME="$(printf "[%s] " "$(date +'%Y-%m-%dT%H:%M:%S.%s')")"; shift $((OPTIND-1));;
|
||||
*) exit 1;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue