diff --git a/patch-control.sh b/patch-control.sh
index 7983699a743b3323d7026392dc39797c788d394d..34e74cb494ffbf74cc72498480bd3f230e06b256 100644
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -162,7 +162,8 @@ zenity --question \
        --cancel-label="No, thanks" && firefox http://localhost:1301/ &
 
 # Wait the end of the run
-sleep ${run_duration}
+let 'run_duration_seconds = ${run_duration} * 60'
+sleep ${run_duration_seconds}
 
 zenity --info --text="Run ${run_number} finished!"