Trilinos
Trilinos copied to clipboard
Decomp: Understand an if statement
What does the following if statement mean? This can be found in the decomp code.
484 if [ $? -ne 0 ] 485 then 486 echo ${txtred} 487 echo "ERROR:" 488 echo "ERROR:" 489 echo "ERROR During nem_spread execution. Check error output above and rerun" 490 echo "ERROR:" 491 echo "ERROR:" 492 echo ${txtrst} 493 exit 1
$? Expands to the exit status of the most recently executed foreground pipeline.
It checks whether the nem_spread
execution on the preceding line succeeded or exited with an error.
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE
label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE
.
If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.
This issue was closed due to inactivity for 395 days.