comment
This commit is contained in:
parent
5165489713
commit
be2345d215
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ RWX_COMMAND_ARGUMENT="${0}"
|
|||
RWX_SHELL="$(cat "/proc/${$}/comm")"
|
||||
|
||||
# command name used to run
|
||||
# (stripped from hyphen interactive flag)
|
||||
RWX_COMMAND_NAME="$(basename "${RWX_COMMAND_ARGUMENT}" | sed "s|^-||")"
|
||||
case "${RWX_COMMAND_NAME}" in
|
||||
"bash" | "dash" | "sh") unset RWX_COMMAND_NAME ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue