pm-utils: do not leave background tasks - will be killed by systemd

qvm-sync-clock running in background is killed as soon as
qubes-suspend.service is terminated.
Additionally restore --verbose option, which was the case (implicitly)
in previous qvm-run based code.

Fixes QubesOS/qubes-issues#1795
This commit is contained in:
Marek Marczykowski-Górecki 2016-02-29 13:31:25 +01:00
parent 01833c698c
commit b19ba4dc2d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -3,7 +3,7 @@
sync_qubes_vms_wallclock() sync_qubes_vms_wallclock()
{ {
# Sync all VMs (based on dom0 clock if network time sync fails) # Sync all VMs (based on dom0 clock if network time sync fails)
/usr/bin/qvm-sync-clock --force & /usr/bin/qvm-sync-clock --force --verbose
} }
case "$1" in case "$1" in