Skip to content

Commit 8833075

Browse files
author
Ataxexe
committed
fix the exec code fetch
1 parent f44932b commit 8833075

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2323
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

25-
SODA_VERSION="1.4.0"
25+
SODA_VERSION="1.4.1"
2626

2727
# Stores the usage for exposed commands
2828
TASKS_USAGE=" TASKS:"

scripts/soda/exec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ execute() {
114114
shift
115115
printf "%-60s " "$description"
116116
LAST_EXECUTION_OUTPUT="$("$@" 2>&1)"
117-
LAST_EXECUTION_CODE="${code}"
118117
code="$?"
118+
LAST_EXECUTION_CODE="${code}"
119119
if [[ $code == 0 ]]; then
120120
printf "[ %s ]\n" "$(green "OK")"
121121
file_log "OK" "$description"

0 commit comments

Comments
 (0)