Commit f1b574c4 authored by Brian Davis's avatar Brian Davis
Browse files

update vars and if

parent aaeadc5f
......@@ -1658,9 +1658,9 @@ chk_file_list () {
echo_message "RELRO STACK CANARY NX PIE RPATH RUNPATH\tSymbols\t\tFORTIFY\tFortified\tFortifiable\tFILE\n" '' '' '{\n'
fi
while IFS="" read -r p || [ -n "$p" ]
while IFS="" read -r p || [[ -n "${p}" ]]
do
CHK_FILE="$p"
CHK_FILE="${p}"
if [[ -z "${CHK_FILE}" ]] ; then
printf "\033[31mError: Please provide a valid file.\033[m\n\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment