[bash] fix shellcheck error SC2148

For details, see:

    https://github.com/koalaman/shellcheck/wiki/SC2148
This commit is contained in:
Fernando Schauenburg 2020-12-03 18:33:32 +01:00
parent 80b6aee1ed
commit 220f9a7122

View file

@ -1,3 +1,5 @@
# shellcheck shell=bash
# Return immediately if non-interactive (makes FTP clients happy) # Return immediately if non-interactive (makes FTP clients happy)
[[ "$-" == *i* ]] || return [[ "$-" == *i* ]] || return