[Pkg-libvirt-commits] [SCM] Libvirt debian packaging branch, master, updated. debian/0.6.3-4-1-g89c9720

Guido Günther agx at sigxcpu.org
Thu May 28 15:49:02 UTC 2009


The following commit has been merged in the master branch:
commit 89c9720c40ffb82c2c186dd0802354b677ef6a7c
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu May 28 17:47:49 2009 +0200

    remove bashism
    
    Closes: #530122:

diff --git a/debian/libvirt-suspendonreboot b/debian/libvirt-suspendonreboot
index de23685..599200a 100644
--- a/debian/libvirt-suspendonreboot
+++ b/debian/libvirt-suspendonreboot
@@ -32,7 +32,7 @@ case "$1" in
     for domain in /etc/libvirt/qemu/*xml; do
         domain=$(basename $domain .xml)
         state=$(virsh domstate $domain)
-        if [ "$state" == "running" ]; then
+        if [ "$state" = "running" ]; then
             echo "suspending $domain ..."
             virsh save ${domain} ${suspenddir}/${domain}.dump
         fi

-- 
Libvirt debian packaging



More information about the Pkg-libvirt-commits mailing list