Prevent simple errors from killing containers
This commit is contained in:
parent
2f38bc640c
commit
0acb75aad6
27 changed files with 42 additions and 36 deletions
|
@ -6,10 +6,9 @@ printf %s "$1" > program.pas
|
|||
res="$(fpc program.pas 2>&1)"
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
./program
|
||||
./program || true
|
||||
else
|
||||
printf %s "$res"
|
||||
exit 1
|
||||
printf %s "$res"
|
||||
fi
|
||||
|
||||
cd .. && rm -rf "$CODEDIR"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue