Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/gsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,11 @@ You should use the command
fi
fi

export GSH_LAST_ACTION='check_true'
__gsh_clean "$MISSION_NB"

__log_action "$MISSION_NB" "CHECK_OK"
export GSH_LAST_ACTION='check_true'


if [ -n "$GSH_AUTOSAVE" ] && [ "$GSH_AUTOSAVE" != "0" ]
then
Expand All @@ -444,9 +445,10 @@ You should use the command
color_echo red "$(eval_gettext "Sorry, mission \$MISSION_NB hasn't been completed.")"
echo

export GSH_LAST_ACTION='check_false'
__gsh_clean "$MISSION_NB"
__log_action "$MISSION_NB" "CHECK_OOPS"
export GSH_LAST_ACTION='check_false'


if [ -n "$GSH_AUTOSAVE" ] && [ "$GSH_AUTOSAVE" != "0" ]
then
Expand Down