From: Panagiotis H.M. Issaris Date: Wed, 16 Jun 2010 07:19:15 +0000 (+0200) Subject: Forgotten @LIBEXECDIR@ replacement X-Git-Tag: lxc-0.7.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0830689d862752819db9552b2ba8ef58fe7cafaa;p=thirdparty%2Flxc.git Forgotten @LIBEXECDIR@ replacement Forgotten part of commit d674be08d4b282bb4717c51440811e39d3c2431e Signed-off-by: Panagiotis H.M. Issaris Signed-off-by: Daniel Lezcano --- diff --git a/templates/lxc-sshd.in b/templates/lxc-sshd.in index d47420685..6b223ec8a 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