Changed checkExist ff to check for actual file instead of file/dir

This commit is contained in:
Asif Bacchus 2018-10-03 15:58:40 -06:00
parent 3b72240d8c
commit 75bd10e6c0

View File

@ -50,7 +50,7 @@ function quit {
function checkExist { function checkExist {
if [ "$1" = "ff" ]; then if [ "$1" = "ff" ]; then
# find file # find file
if [ -e "$2" ]; then if [ -f "$2" ]; then
# found # found
return 0 return 0
else else