mbox

Libvirt: Fix update.sh script

Message ID 1472841323-584-1-git-send-email-jonatan.schlag@ipfire.org
State Accepted
Commit 3943a54036fcce71d57b1bbd2c2759c64c5f1f86
Headers

Message

Jonatan Schlag Sept. 3, 2016, 4:35 a.m. UTC
  The virtlogd could only be restarted when the daemons run. The update.sh
script tried to restart the daemon no matter if the daemons run or not.
This behaviour produce problems.

An If statement now checks if the daemon runs or not and execute the
command that is suitable for the situation.

Fixes: #11172

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 lfs/libvirt                | 2 +-
 src/paks/libvirt/update.sh | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)