ignore set -e at grep SLAPD_#18
Open
tetsuyainfra wants to merge 1 commit intodinkel:masterfrom
tetsuyainfra:ignore_sete
Open
ignore set -e at grep SLAPD_#18tetsuyainfra wants to merge 1 commit intodinkel:masterfrom tetsuyainfra:ignore_sete
tetsuyainfra wants to merge 1 commit intodinkel:masterfrom
tetsuyainfra:ignore_sete
Conversation
|
Why not use bashism ? :) $ echo ${!SSH_*}
SSH_AGENT_PID SSH_AUTH_SOCK |
fedde-s
added a commit
to fedde-s/docker-openldap
that referenced
this pull request
Sep 22, 2017
ignore set -e at grep SLAPD_ Because "set -e option in entrypoint.sh" if `env | grep SLAPD_` (don't set SLAPD_* env) returned an error, shell script stops.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because "set -e option in entrypoint.sh"
if
env | grep SLAPD_(don't set SLAPD_* env) returned an error, shell script stops.http://pubs.opengroup.org/onlinepubs/007904975/utilities/set.html
https://www.gnu.org/software/grep/manual/grep.html#Exit-Status