docker-mailserver/target/scripts
Georg Lauterbach ede2b2394a
improvement: get rid of subshell + exec in helper-functions.sh (#2401)
* get rid of subshell + exec

The new way of executing `sha512sum` should work as well as the old way
but without the clutter and possible problems the usage of subshells +
exec incurs.

Moreover, there was a misconception about array expansion. Using `""`
around an expanding array (`${ARRAY[@]}`) is quite fine (and actually
the preffered way), not because it makes the expansion _one_ string
(this would be `${ARRAY[*]}`), but it makes sure when elements are
expanded, each element has `""` around them so to speak, i.e. there is
no re-splitting of these elements.

* removed old concerns in comments

* increase test and check for changes sleep duration
2022-02-09 11:21:45 +13:00
..
helpers Updated ShellCheck to 0.8.0 and Hadolint to 2.8.0 (#2329) 2021-12-19 11:56:22 +01:00
startup add env var LOGWATCH_SENDER (#2362) 2022-01-10 12:29:11 +01:00
check-for-changes.sh improvement: get rid of subshell + exec in helper-functions.sh (#2401) 2022-02-09 11:21:45 +13:00
fail2ban-wrapper.sh Final Migration Step (#6) 2021-01-16 10:16:05 +01:00
helper-functions.sh improvement: get rid of subshell + exec in helper-functions.sh (#2401) 2022-02-09 11:21:45 +13:00
postfix-wrapper.sh setup.sh: docker_container first, then fall back to docker_image (#2134) 2021-09-06 10:13:12 +00:00
postsrsd-wrapper.sh HOSTNAME and DOMAINNAME setting improvements (#2175) 2021-09-12 02:20:16 +12:00
quota-warning.sh Final Migration Step (#6) 2021-01-16 10:16:05 +01:00
start-mailserver.sh Fix harmless startup errors (#2357) 2022-01-08 00:25:09 +01:00
update-check.sh Update check (#1951) 2021-05-19 21:18:06 +02:00