summaryrefslogtreecommitdiff
path: root/docker/keystone/check.sh
blob: f9679386166e81e60fc2a305b56d666a6c127104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

RES=0

. /openrc
if ! keystone token-get > /dev/null; then
    echo "ERROR: keystone token-get failed" >&2
    RES=1
fi

exit $RES