mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-16 04:14:52 +02:00
Remove unnecessary quotes from command substitutions (#2561)
This commit is contained in:
parent
b4c49d272f
commit
628e902233
46 changed files with 102 additions and 102 deletions
|
@ -714,7 +714,7 @@ function _setup_docker_permit
|
|||
|
||||
CONTAINER_IP=$(ip addr show "${NETWORK_INTERFACE}" | \
|
||||
grep 'inet ' | sed 's|[^0-9\.\/]*||g' | cut -d '/' -f 1)
|
||||
CONTAINER_NETWORK="$(echo "${CONTAINER_IP}" | cut -d '.' -f1-2).0.0"
|
||||
CONTAINER_NETWORK=$(echo "${CONTAINER_IP}" | cut -d '.' -f1-2).0.0
|
||||
|
||||
if [[ -z ${CONTAINER_IP} ]]
|
||||
then
|
||||
|
@ -955,7 +955,7 @@ function _setup_security_stack
|
|||
cat >"${SPAMASSASSIN_KAM_CRON_FILE}" <<"EOM"
|
||||
#! /bin/bash
|
||||
|
||||
RESULT="$(sa-update --gpgkey 24C063D8 --channel kam.sa-channels.mcgrail.com 2>&1)"
|
||||
RESULT=$(sa-update --gpgkey 24C063D8 --channel kam.sa-channels.mcgrail.com 2>&1)
|
||||
EXIT_CODE=${?}
|
||||
|
||||
# see https://spamassassin.apache.org/full/3.1.x/doc/sa-update.html#exit_codes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue