[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v2] libvirtd: Better initscript error reporting



>From time to time I bork my install, and hate it when the initscript
returns no info. This patch removes the sanity check, which lets
the shell give us 'command not found' or 'permission denied' errors.

Signed-off-by: Cole Robinson <crobinso redhat com>
---
 daemon/libvirtd.init.in |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/daemon/libvirtd.init.in b/daemon/libvirtd.init.in
index 071fe2c..b808ab3 100644
--- a/daemon/libvirtd.init.in
+++ b/daemon/libvirtd.init.in
@@ -32,9 +32,6 @@
 # pidfile: @localstatedir@/run/libvirtd.pid
 #
 
-# Sanity checks.
-[ -x @sbindir@/libvirtd ] || exit 0
-
 # Source function library.
 . @sysconfdir@/rc.d/init.d/functions
 
-- 
1.6.5.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]