Skip to content

Commit

Permalink
removed check for executable in ./
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Aug 12, 2024
1 parent 21148f6 commit 50b0adc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions etc/profile.d/help50.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ function _help50() {
# https://tldp.org/LDP/abs/html/exitcodes.html
if [[ $status -ne 0 && $status -ne 130 && $status -ne 148 ]]; then

# Ignore ./* if executable file
if [[ "$argv0" =~ ^\./ && -f "$argv0" && -x "$argv0" ]]; then
echo XXX
return
fi

# Read typescript from disk
local typescript=$(cat $HELP50)

Expand Down

0 comments on commit 50b0adc

Please sign in to comment.