Skip to content

Commit

Permalink
src/winusb: Rename call_external_command to distinguish with other co…
Browse files Browse the repository at this point in the history
…mmand types

Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 7, 2017
1 parent 1abe210 commit d8b62cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ trap_debug(){

## An utility function for inhibiting command call output and
## only show them to user when error occurred
util_call_command(){
util_call_external_command(){
set +o errexit
TEXT="$( "$@" 2>&1 )"
RETURN="$?"
Expand All @@ -965,7 +965,7 @@ util_call_command(){
fi

return "$RETURN"
}; declare -fr util_call_command
}; declare -fr util_call_external_command

## Configure the terminal to print future messages with certain color
## $1:
Expand Down

0 comments on commit d8b62cc

Please sign in to comment.