diff --git a/dev-support/bin/yetus-wrapper b/dev-support/bin/yetus-wrapper index 4b1e21e7c26..ddcc7a53ab3 100755 --- a/dev-support/bin/yetus-wrapper +++ b/dev-support/bin/yetus-wrapper @@ -165,6 +165,7 @@ if [[ $? != 0 ]]; then fi if [[ -x "${HADOOP_PATCHPROCESS}/yetus-${HADOOP_YETUS_VERSION}/bin/${WANTED}" ]]; then + popd >/dev/null exec "${HADOOP_PATCHPROCESS}/yetus-${HADOOP_YETUS_VERSION}/bin/${WANTED}" "${ARGV[@]}" fi