Browse Source

qubes.Restore: remove bashism found by new ShellCheck

Rusty Bird 4 years ago
parent
commit
cd3d870fd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubes-rpc/qubes.Restore

+ 1 - 1
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"