Index: scripts/run.sh =================================================================== diff -u -r424ae5459e5b7d65a6211bd153f15c9ef82f9362 -r81d1265a7d5d2b5a51943c477336ee506b7789fe --- scripts/run.sh (.../run.sh) (revision 424ae5459e5b7d65a6211bd153f15c9ef82f9362) +++ scripts/run.sh (.../run.sh) (revision 81d1265a7d5d2b5a51943c477336ee506b7789fe) @@ -28,5 +28,8 @@ sleep 10 # wait for the UI Software to mount the encrypted partition. startDemoMode_local startCloudSync_local -timerEndLog -saveBackupLog \ No newline at end of file + +wait $BACKUP_PID +saveBackupLog + +timerEndLog \ No newline at end of file