mirror of https://github.com/fail2ban/fail2ban
Fix whitespaces
parent
24b0e048d1
commit
824afbf52d
|
@ -56,7 +56,7 @@ script:
|
|||
# Doc files should get installed on Travis under Linux
|
||||
- test -e /usr/share/doc/fail2ban/FILTERS
|
||||
# Test initd script
|
||||
- shellcheck -s bash -e SC1090,SC1091 files/debian-initd
|
||||
- shellcheck -s bash -e SC1090,SC1091 files/debian-initd
|
||||
after_success:
|
||||
- if [[ "$F2B_COV" = 1 ]]; then coveralls; fi
|
||||
- codecov
|
||||
|
|
|
@ -33,7 +33,7 @@ SCRIPTNAME="/etc/init.d/$NAME"
|
|||
|
||||
# Ad-hoc way to parse out socket file name
|
||||
SOCKFILE="$(grep -h '^[^#]*socket *=' "/etc/$NAME/$NAME.conf" "/etc/$NAME/$NAME.local" 2>/dev/null \
|
||||
| tail -n 1 | sed -e 's/.*socket *= *//g' -e 's/ *$//g')"
|
||||
| tail -n 1 | sed -e 's/.*socket *= *//g' -e 's/ *$//g')"
|
||||
[ -z "$SOCKFILE" ] && SOCKFILE="/var/run/fail2ban.sock"
|
||||
|
||||
# Exit if the package is not installed
|
||||
|
|
Loading…
Reference in New Issue