[packages/libvirt] fix silly logic error in init startup script

glen glen at pld-linux.org
Fri Apr 26 21:56:54 CEST 2013


commit b53bfab2c07c4f0f201ae3f6579560018cef6e7c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Apr 26 22:55:03 2013 +0300

    fix silly logic error in init startup script

 libvirt.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libvirt.init b/libvirt.init
index fcf7ebc..ca3d584 100755
--- a/libvirt.init
+++ b/libvirt.init
@@ -28,7 +28,7 @@ if [ -f /etc/sysconfig/libvirtd ] ; then
 fi
 
 start() {
-	if [ ! -f /var/lock/subsys/libvirtd ]; then
+	if [ -f /var/lock/subsys/libvirtd ]; then
 		msg_already_running "libvirtd"
 		return
 	fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/2ca3dcc14403ac00e1ea5dcf08cf31c80f74f11b



More information about the pld-cvs-commit mailing list