diff --git a/patch-control.sh b/patch-control.sh
index ad86a81d3af95933465a81d826dd0652c5de0c70..3d8f4e4466f0750c92631f7ba441874fa8bbaf4c 100644
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -88,6 +88,7 @@ while [ 1 ]; do
 
   if [ -z "${rs_file}" ]; then
     zenity --error  --text="No Run Setup file selectet, aborting"
+    rm_lock
     exit -1
   fi