[lxc-devel] [PATCH] Forgotten @LIBEXECDIR@ replacement

Panagiotis H.M. Issaris panagiotis at gmail.com
Thu Jun 10 18:08:08 UTC 2010


Forgotten part of commit d674be08d4b282bb4717c51440811e39d3c2431e

Signed-off-by: Panagiotis H.M. Issaris <takis at issaris.org>
---
 templates/lxc-sshd.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/lxc-sshd.in b/templates/lxc-sshd.in
index d474206..6b223ec 100644
--- a/templates/lxc-sshd.in
+++ b/templates/lxc-sshd.in
@@ -149,7 +149,7 @@ fi
 
 if [ $0 == "/sbin/init" ]; then
 
-    type @LIBEXECDIR@/lxc-init
+    type @LXCINITDIR@/lxc-init
     if [ $? -ne 0 ]; then
 	echo "'lxc-init is not accessible on the system"
 	exit 1
@@ -161,7 +161,7 @@ if [ $0 == "/sbin/init" ]; then
 	exit 1
     fi
 
-    exec @LIBEXECDIR@/lxc-init -- /usr/sbin/sshd
+    exec @LXCINITDIR@/lxc-init -- /usr/sbin/sshd
     exit 1
 fi
 
-- 
1.7.1





More information about the lxc-devel mailing list