run normally if SINGLE_NODE is set

This commit is contained in:
f 2022-09-10 18:04:08 -03:00
parent 388a19fb84
commit 6587faf068

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
if test -z "${NODES}"; then if test -z "${NODES}" && test -z "${SINGLE_NODE}"; then
echo "The env var NODES is empty, if you don't want to synchronize to other servers, set SINGLE_NODE=true" >&2 echo "The env var NODES is empty, if you don't want to synchronize to other servers, set SINGLE_NODE=true" >&2
exit 1 exit 1
fi fi