Revision 14703
Added by Aaron Marcuse-Kubitza about 10 years ago
util.sh | ||
---|---|---|
1088 | 1088 |
command__exec() |
1089 | 1089 |
{ |
1090 | 1090 |
ensure_nested_func |
1091 |
local verbosity_orig="$verbosity" # save for use in die_e |
|
1091 | 1092 |
if test "$verbosity_min"; then verbosity_min "$verbosity_min"; fi |
1092 | 1093 |
verbosity_compat |
1093 |
builtin command "$@" || die_e
|
|
1094 |
builtin command "$@" || { verbosity="$verbosity_orig"; die_e; }
|
|
1094 | 1095 |
} |
1095 | 1096 |
|
1096 | 1097 |
|
Also available in: Unified diff
bugfix: lib/sh/util.sh: command__exec(): need to restore $verbosity before calling die_e