diff options
Diffstat (limited to 'bash/bashrc.d/cd.bash')
-rw-r--r-- | bash/bashrc.d/cd.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/cd.bash b/bash/bashrc.d/cd.bash index 908f6822..7d3fd65a 100644 --- a/bash/bashrc.d/cd.bash +++ b/bash/bashrc.d/cd.bash @@ -24,7 +24,7 @@ cd() { else printf 'bash: %s: could not replace substring\n' \ "$FUNCNAME" >&2 - return 1 + return 2 fi else builtin cd "${opts[@]}" -- "$@" |