Ignore exit status from netvm pm-scripts (#146)

This commit is contained in:
Marek Marczykowski 2011-03-29 12:22:31 +02:00
parent 2bcbc1742e
commit 464337a24e

View File

@ -9,6 +9,8 @@ suspend_net()
exit 0
fi
qvm-run -u root --pass_io $NETVM "source /usr/lib64/pm-utils/pm-functions; run_hooks sleep suspend suspend"
# Ignore exit status from netvm...
return 0
}
resume_net()
@ -18,6 +20,8 @@ resume_net()
exit 0
fi
qvm-run -u root --pass_io $NETVM "source /usr/lib64/pm-utils/pm-functions; run_hooks sleep resume suspend reverse"
# Ignore exit status from netvm...
return 0
}