12 lines
153 B
Bash
12 lines
153 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# PRIMARY_NODE=${PRIMARY_NODE:-}
|
||
|
echo PRIMARY_NODE: $PRIMARY_NODE
|
||
|
|
||
|
if [ "$PRIMARY_NODE" = "true" ]; then
|
||
|
exit 0
|
||
|
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|