Ensure compatibility to BSD date
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
947766d2df
commit
59f2dff906
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ EOF
|
|||
|
||||
if [ $? -eq 0 ]; then
|
||||
info "[${KEY_NAME}] Should be loaded by now."
|
||||
vault-patch --log-level=warn secret/ssh-key/${KEY_NAME} last_used=$(date -Iseconds)
|
||||
vault-patch --log-level=warn secret/ssh-key/${KEY_NAME} last_used=$(date +%Y-%m-%dT%H:%M:%S%z)
|
||||
else
|
||||
error "[${KEY_NAME}] Was not added successfully."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue