[bash] fix shellcheck error SC2148
For details, see: https://github.com/koalaman/shellcheck/wiki/SC2148
This commit is contained in:
parent
80b6aee1ed
commit
220f9a7122
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue