Add euo to scripts
This commit is contained in:
parent
8c47dffb01
commit
358d7ef176
5 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
FILTER_PATH='/var/spool/filter'
|
||||
while read -r FOLDER
|
||||
do
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
# http://www.postfix.org/FILTER_README.html
|
||||
# Clean up when done or when aborting.
|
||||
finished=false
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
# shellcheck disable=SC1091
|
||||
[ -r /var/lib/from_repos/ad_scripts/shared_functions.sh ] && . /var/lib/from_repos/ad_scripts/shared_functions.sh
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
if [[ "$1" == "" ]]
|
||||
then
|
||||
echo "Indicate a string to search in the postqueue."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
declare clients=( hiljainen.susurrando.com )
|
||||
|
||||
rm /etc/postfix/allowed_clients
|
||||
|
|
Loading…
Reference in a new issue