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

RES=0

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

exit $RES