Browse Source

ffet de bord sur les locks

Sniperovitch 8 years ago
parent
commit
5943caca85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cocktail

+ 1 - 1
cocktail

@@ -11,7 +11,6 @@ end_with_code() {
   then
     cleanup_working_folder
   fi
-  unlock_project
   verbose "[$FUNCNAME] exiting with RC=[$rc]"
   exit $rc
 }
@@ -412,5 +411,6 @@ pad2markdown "$WORKING_FOLDER/$PROJET.txt" "$WORKING_FOLDER/$PROJET.markdown.txt
 pad2tex "$WORKING_FOLDER/$PROJET.txt" "$WORKING_FOLDER/$PROJET.tex"
 tex2pdf "$WORKING_FOLDER/$PROJET.tex" "$WORKING_FOLDER/$PROJET.pdf"
 publish
+unlock_project
 end_with_code 0