dom0/pm-utils: do not fail suspend

This commit is contained in:
Marek Marczykowski 2012-02-16 16:24:41 +01:00
parent c39fc7f6f1
commit 0e00488c30

View File

@ -16,6 +16,9 @@ sync_qubes_vms_wallclock()
case "$1" in
thaw|resume) sync_qubes_vms_wallclock ;;
# Kill qvm-sync-clock (if running) to not desync time after resume
suspend|hibernate) killall qvm-sync-clock 2> /dev/null ;;
suspend|hibernate)
killall qvm-sync-clock 2> /dev/null
exit 0
;;
*) exit 0 ;;
esac