From 824afbf52d951844ebaff1cc93c990867f60ffd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 17 Feb 2019 09:12:30 +0000 Subject: [PATCH] Fix whitespaces --- .travis.yml | 2 +- files/debian-initd | 2 +- 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