Index: scripts/run.sh =================================================================== diff -u -rf6db170ecaffa7a9a62307ce74e99524a8571374 -r09badb3ecefe3fa86c1b35d63da37e5af4018f84 --- scripts/run.sh (.../run.sh) (revision f6db170ecaffa7a9a62307ce74e99524a8571374) +++ scripts/run.sh (.../run.sh) (revision 09badb3ecefe3fa86c1b35d63da37e5af4018f84) @@ -28,5 +28,8 @@ startApplication_local sleep 10 # wait for the UI Software to mount the encrypted partition. startCloudSync_local -timerEndLog -saveBackupLog \ No newline at end of file + +wait $BACKUP_PID +saveBackupLog + +timerEndLog \ No newline at end of file