Do not wait for user input if an archive is protected with a password

pull/33/head
Raphaël Vinot 2015-03-09 18:37:16 +01:00
parent 07da2d2761
commit d60fc30976
1 changed files with 1 additions and 1 deletions

View File

@ -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