mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-28 22:55:35 +02:00
chore: Add comments to start-mailserver.sh
and stop using inherit_errexit
(#4161)
This commit is contained in:
parent
310786453b
commit
ab2127ba67
2 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# When 'pipefail' is enabled, the exit status of the pipeline reflects the exit status of the last command that fails.
|
||||
# Without 'pipefail', the exit status of a pipeline is determined by the exit status of the last command in the pipeline.
|
||||
set -o pipefail
|
||||
shopt -s globstar inherit_errexit
|
||||
|
||||
# Allows the usage of '**' in patterns, e.g. ls **/*
|
||||
shopt -s globstar
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# ? >> Sourcing helpers & stacks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue