summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Szépe <viktor@szepe.net>2019-02-17 09:12:30 +0000
committerViktor Szépe <viktor@szepe.net>2019-02-17 09:12:30 +0000
commit824afbf52d951844ebaff1cc93c990867f60ffd2 (patch)
tree4d58efc08f05e28b7bbcd413bae1e63ee69f3660
parent24b0e048d18ee6cce0c544ee6e9fc3126279da56 (diff)
downloadfail2ban-824afbf52d951844ebaff1cc93c990867f60ffd2.tar.gz
Fix whitespaces
-rw-r--r--.travis.yml2
-rwxr-xr-xfiles/debian-initd2
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 230617c8..bd095598 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/files/debian-initd b/files/debian-initd
index 35362d0d..a9cc584f 100755
--- a/files/debian-initd
+++ b/files/debian-initd
@@ -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