Fix
This commit is contained in:
parent
0ef4fa6dd9
commit
4e464ffeb0
@ -209,7 +209,7 @@ fi
|
|||||||
# --local-dir
|
# --local-dir
|
||||||
if [[ -n "${ARG_LOCAL_DIR}" ]]
|
if [[ -n "${ARG_LOCAL_DIR}" ]]
|
||||||
then
|
then
|
||||||
if [[ ! -d "${ARG_LOCAL_DIR}" ]] -o [[ ! -r "${ARG_LOCAL_DIR}" ]]
|
if [[ ! -d "${ARG_LOCAL_DIR}" ]] || [[ ! -r "${ARG_LOCAL_DIR}" ]]
|
||||||
then
|
then
|
||||||
print -u2 "ERROR: unable to read directory ${ARG_LOCAL_DIR}"
|
print -u2 "ERROR: unable to read directory ${ARG_LOCAL_DIR}"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user