Forgotten part of commit d674be08d4b282bb4717c51440811e39d3c2431e

Signed-off-by: Panagiotis H.M. Issaris <ta...@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


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to