tests: fix return code check in attack_0 () function

pull/2286/head
philsmd 4 years ago committed by GitHub
parent da7a13afcb
commit c3c4178791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -500,10 +500,10 @@ function attack_0()
output=$(echo "${pass}" | ./${BIN} ${OPTS} -a 0 -m ${hash_type} "${hash}" 2>&1)
pass=${pass_old}
ret=${?}
pass=${pass_old}
echo "${output}" >> "${OUTD}/logfull.txt"
if [ "${ret}" -eq 0 ]; then

Loading…
Cancel
Save