mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Fixed a missing error code on a return statement
This commit is contained in:
parent
ac1668ffe5
commit
d09e122646
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ EOF
|
||||||
shift
|
shift
|
||||||
if [[ ! -d "$1" ]]; then
|
if [[ ! -d "$1" ]]; then
|
||||||
echo "extract: specified output directory $1 is not a valid directory." >&2
|
echo "extract: specified output directory $1 is not a valid directory." >&2
|
||||||
return
|
return 1
|
||||||
fi
|
fi
|
||||||
extract_dir="$1"
|
extract_dir="$1"
|
||||||
shift
|
shift
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue