Skip to content

Commit

Permalink
recheck task error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Dec 1, 2020
1 parent c538bdf commit 0e29862
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/subroutines
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ task_defclass() {
if [ $renewclass -eq 1 ]; then
# reevaluate new list of classes
fai-class -T $FAI/class $LOGDIR/FAI_CLASSES
# check task error again
local lerr=$(< $LOGDIR/task_local_error)
task_error $lerr

classes=$(< $LOGDIR/FAI_CLASSES)
elif [ -n "$cmdlineclasses" ]; then
classes=$cmdlineclasses
Expand Down

0 comments on commit 0e29862

Please sign in to comment.