Skip to content

Commit 50b0adc

Browse files
committed
removed check for executable in ./
1 parent 21148f6 commit 50b0adc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

etc/profile.d/help50.sh

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ function _help50() {
4747
# https://tldp.org/LDP/abs/html/exitcodes.html
4848
if [[ $status -ne 0 && $status -ne 130 && $status -ne 148 ]]; then
4949

50-
# Ignore ./* if executable file
51-
if [[ "$argv0" =~ ^\./ && -f "$argv0" && -x "$argv0" ]]; then
52-
echo XXX
53-
return
54-
fi
55-
5650
# Read typescript from disk
5751
local typescript=$(cat $HELP50)
5852

0 commit comments

Comments
 (0)