Fix fernet-node-sync error catching

Change-Id: I09844e0807a93d9edd8d014276b0174d77a993a0
This commit is contained in:
Michal Nasiadka 2020-01-10 09:37:18 +01:00 committed by Radosław Piliszek
parent 873e1c640d
commit a955f323af

View File

@ -1,5 +1,8 @@
#!/bin/bash
set -o errexit
set -o pipefail
# Get data on the fernet tokens
TOKEN_CHECK=$(/usr/bin/fetch_fernet_tokens.py -t {{ fernet_token_expiry }} -n {{ (groups['keystone'] | length) + 1 }})