We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ff486 commit d174600Copy full SHA for d174600
docker/solr/entrypoint.sh
@@ -1,5 +1,9 @@
1
#!/bin/bash
2
3
+set -o pipefail # trace ERR through pipes
4
+set -o errtrace # trace ERR through 'time command' and other functions
5
+set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
6
+set -o errexit ## set -e : exit the script if any statement returns a non-true return value
7
8
###################
9
# Move storage to storage container
@@ -27,4 +31,4 @@ if [ "$1" = 'solr' ]; then
27
31
exec java -jar start.jar
28
32
fi
29
33
30
-exec "$@"
34
+exec "$@"
0 commit comments