Skip to content

Commit

Permalink
Merge pull request #61 from joanhey/error-without-dir
Browse files Browse the repository at this point in the history
Check for dir in `check.sh`
  • Loading branch information
myaaghubi authored Mar 18, 2024
2 parents 61e7f40 + 5b1db4f commit b1425eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ do
else
printf "%-34b %4s bytes %s\n" "${GREEN}$fw ${NC}" "${#url_output}" "$url"
fi
else
# if exist in config, but not exist the dir
echo -e "${RED}❌ Dir $fw ${NC} doesn't exist"
FAIL=1
fi
done

Expand Down

0 comments on commit b1425eb

Please sign in to comment.