Bash: my head against the wall
This commit is contained in:
parent
1c37f507e8
commit
bb2ac9e3e6
@ -17,7 +17,7 @@ fi
|
|||||||
|
|
||||||
_targetFile="$1"
|
_targetFile="$1"
|
||||||
|
|
||||||
if ! [[ -f "$_targetFile" ]]; then
|
if ! [[ -e "$_targetFile" ]]; then
|
||||||
echo -n "file not found: $1"
|
echo -n "file not found: $1"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user