fix(debashify): error message on empty array create

This commit is contained in:
zawz 2021-12-20 15:54:04 +01:00
parent 8a64d4e207
commit cdd03f28ac

View file

@ -1,6 +1,6 @@
_lxsh_array_create() {
printf "%s" "$1"
shift 1
shift 1 2>/dev/null || return
for N ; do
printf "\t%s" "$N"
done