Code Review
/
pti
/
rtp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
build_inf.sh: exclude image recipes from rm_work feature
[pti/rtp.git]
/
meta-stx
/
recipes-devtools
/
python
/
python-cinderclient
/
cinder-api-check.sh
1
#! /bin/bash
2
3
CMD="cinder list"
4
5
data=$($CMD 2>&1)
6
res=$?
7
if [ ${res} -eq 127 ]; then
8
exit 0
9
elif [ ${res} -ne 0 ]; then
10
echo "OpenStack \"cinder api\" failed: "
11
echo $data
12
exit $res
13
fi
14
exit 0