Skip to content

Commit

Permalink
global: quote return $?
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Oct 2, 2022
1 parent b534799 commit 4f14f7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/edit.sh
Expand Up @@ -3632,7 +3632,7 @@ function ble/builtin/exit {
local ext=${1-$?}
if ble/util/is-running-in-subshell || [[ $_ble_decode_bind_state == none ]]; then
builtin exit "$ext"
return
return "$?"
fi

local joblist
Expand Down Expand Up @@ -3888,7 +3888,7 @@ function ble-edit/exec:exec {
function ble-edit/exec:exec/process {
ble-edit/exec:exec
ble-edit/bind/.check-detach
return $?
return "$?"
}

#--------------------------------------
Expand Down Expand Up @@ -4046,7 +4046,7 @@ function ble-edit/exec:gexec/.setup {

function ble-edit/exec:gexec/process {
ble-edit/exec:gexec/.setup
return $?
return "$?"
}

# **** accept-line **** @edit.accept
Expand Down Expand Up @@ -7312,7 +7312,7 @@ function ble-edit/bind/.check-detach {
if ! ble-decode/attach; then
ble-detach
ble-edit/bind/.check-detach # 改めて終了処理
return $?
return "$?"
fi
fi

Expand Down

0 comments on commit 4f14f7a

Please sign in to comment.