Skip to content

Commit

Permalink
Merge pull request #258 from RoanKanninga/master
Browse files Browse the repository at this point in the history
fixing falsely TRAPPED message
  • Loading branch information
Gerbenvandervries authored Jun 20, 2016
2 parents aaf501e + 5c7cd17 commit f5faeba
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
touch ${taskId}.sh.finished

echo "On $(date +"%Y-%m-%d %T"), after $(( ($(date +%s) - $MOLGENIS_START) / 60 )) minutes, task ${taskId} finished successfully" >> molgenis.bookkeeping.log

if [ -d <#noparse>${MC_tmpFolder:-}</#noparse> ];
<#noparse>
if [ -d ${MC_tmpFolder:-} ];
then
echo "removed tmpFolder $MC_tmpFolder"
rm -r $MC_tmpFolder
fi

trap - EXIT
exit 0
</#noparse>

0 comments on commit f5faeba

Please sign in to comment.