Browse Source

Shellcheck fix 2 warnings.

Signed-off-by: Dan Schaper <dschaper@ganymeade.com>
pull/340/head
Dan Schaper 8 years ago
parent
commit
01bfc71827
No known key found for this signature in database GPG Key ID: FFF1A1AD0113C344
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      getsslD

+ 4
- 6
getsslD View File

@ -94,10 +94,10 @@ create_key() {
return 1
}
get_date() {
# get current date and time in UTC YYYY-MM-DDTHH:MM:SSZ
echo $(date -u +"%Y-%m-%dT%H:%M:%SZ")
}
#get_date() {
# get current date and time in UTC YYYY-MM-DDTHH:MM:SSZ
# echo "$(date -u +"%Y-%m-%dT%H:%M:%SZ")
#}
help_message_top() {
@ -252,8 +252,6 @@ if [[ "$1" == "-h" ]] || [[ "$1" == "--help" ]] || [[ "$1" == "" ]]; then
exit 0
fi
printf '%s' $get_date
arg_parser "$@"
}


Loading…
Cancel
Save