From cdd03f28acf7b00a005ba21e3f6df40935a791ab Mon Sep 17 00:00:00 2001 From: zawz Date: Mon, 20 Dec 2021 15:54:04 +0100 Subject: [PATCH] fix(debashify): error message on empty array create --- shellcode/array_create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellcode/array_create.sh b/shellcode/array_create.sh index 40cd1e3..bbbc07b 100644 --- a/shellcode/array_create.sh +++ b/shellcode/array_create.sh @@ -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