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
pull/6/head mm_b19ba4dc
Marek Marczykowski-Górecki 8 years ago
parent 01833c698c
commit b19ba4dc2d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -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

Loading…
Cancel
Save