shfmt check?

This commit is contained in:
Monius 2022-08-22 15:16:30 +08:00
parent 6502a71083
commit 5a604bfdee

View File

@ -2239,10 +2239,11 @@ _setopt() {
if [ ! -f "$__conf" ]; then
touch "$__conf"
fi
if [ -n "$(tail -c 1 <"$__conf")" ]; then
echo >>"$__conf"
fi
if grep -n "^$__opt$__sep" "$__conf" >/dev/null; then
_debug3 OK
if _contains "$__val" "&"; then