shfmt check?

This commit is contained in:
Monius 2022-08-22 15:16:30 +08:00
parent 6502a71083
commit 5a604bfdee
1 changed files with 2 additions and 1 deletions

View File

@ -2239,6 +2239,7 @@ _setopt() {
if [ ! -f "$__conf" ]; then
touch "$__conf"
fi
if [ -n "$(tail -c 1 <"$__conf")" ]; then
echo >>"$__conf"
fi