diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/share/poudriere/common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index ec20e80e..517c3c11 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -1864,11 +1864,13 @@ cd() { local ret ret=0 + critical_start command cd "$@" || ret=$? # Handle fixing relative paths if [ "${OLDPWD}" != "${PWD}" ]; then _update_relpaths "${OLDPWD}" "${PWD}" || : fi + critical_end return ${ret} } |