chore(vault): Exit unknown error
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
a8010327a6
commit
62cba67259
1 changed files with 7 additions and 5 deletions
|
|
@ -180,11 +180,13 @@ spec:
|
|||
exit 0
|
||||
} || {
|
||||
(cat /opt/openreplay/err.txt | grep -i "vault is already initialized") && {
|
||||
echo vault already initialized
|
||||
exit 0
|
||||
} || {
|
||||
echo Unknown error
|
||||
cat /opt/openreplay/err.txt
|
||||
cat /opt/openreplay/err.txt
|
||||
echo vault already initialized
|
||||
exit 0
|
||||
} || {
|
||||
echo Unknown error
|
||||
cat /opt/openreplay/err.txt
|
||||
exit 2
|
||||
}
|
||||
} || {
|
||||
echo vault not yet initialized;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue