From d60fc3097622c31a614a5742be42a7c8f436142b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 9 Mar 2015 18:37:16 +0100 Subject: [PATCH] Do not wait for user input if an archive is protected with a password --- fs/opt/groomer/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/opt/groomer/functions.sh b/fs/opt/groomer/functions.sh index 639d0a1..5d01b01 100755 --- a/fs/opt/groomer/functions.sh +++ b/fs/opt/groomer/functions.sh @@ -65,7 +65,7 @@ archive(){ if [ ${ARCHIVE_BOMB} -eq 0 ]; then temp_extract_dir=${2}_temp mkdir -p "${temp_extract_dir}" - ${UNPACKER} x "${1}" -o"${temp_extract_dir}" -bd + ${UNPACKER} -p1 x "${1}" -o"${temp_extract_dir}" -bd main ${2} ${RECURSIVE_ARCHIVE_CURRENT} ${temp_extract_dir} || true rm -rf "${temp_extract_dir}" fi