]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Forgotten @LIBEXECDIR@ replacement
authorPanagiotis H.M. Issaris <panagiotis@gmail.com>
Wed, 16 Jun 2010 07:19:15 +0000 (09:19 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 16 Jun 2010 07:19:15 +0000 (09:19 +0200)
Forgotten part of commit d674be08d4b282bb4717c51440811e39d3c2431e

Signed-off-by: Panagiotis H.M. Issaris <takis@issaris.org>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-sshd.in

index d47420685913349fb4d529c146ba998e4dd8766f..6b223ec8a31c3ba7ce91b4d195a4c3e4a0c922c5 100644 (file)
@@ -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