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
1 changed files with 1 additions and 1 deletions

View File

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