Commit c388b40c7c0794cc2bb1bea1e840de9a93256bde
1 parent
4e81bd46ee
Exists in
master
:D:D
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
main_tools/ExploitConfidencePass.sh
| ... | ... | @@ -175,7 +175,7 @@ |
| 175 | 175 | #---------------# |
| 176 | 176 | # Check Pass # |
| 177 | 177 | #---------------# |
| 178 | -if [ $( ${RES_CONF_DIR}/*.res 2> /dev/null | wc -l) -eq 0 ] | |
| 178 | +if [ $( ls ${RES_CONF_DIR}/*.res 2> /dev/null | wc -l) -eq 0 ] | |
| 179 | 179 | then |
| 180 | 180 | print_error "[${BASENAME}] No Conf Pass res -> exit ExploitConfPass" |
| 181 | 181 | if [ $CHECK -eq 1 ]; then print_log_file $ERRORFILE "No ConfPass res in ${RES_CONF_DIR}" ;fi |