diff --git a/qubes-rpc/qubes.Restore b/qubes-rpc/qubes.Restore index 3185e7e..3a52df1 100755 --- a/qubes-rpc/qubes.Restore +++ b/qubes-rpc/qubes.Restore @@ -30,7 +30,7 @@ else # restore error. So instead of that, use tar2qfile exit code (and have dom0 # detect if anything wrong with actual data) retcode=$? - wait -n + wait $! rm "$tmpdir/backup-data" rmdir "$tmpdir" exit "$retcode"