diff --git a/src/lxc/lxc-ls.in b/src/lxc/lxc-ls.in index 5809ab31e..aa84887db 100644 --- a/src/lxc/lxc-ls.in +++ b/src/lxc/lxc-ls.in @@ -1,6 +1,6 @@ #!/bin/bash -lxcpath=@prefix@/var/lxc +lxcpath=@localstatedir@/lxc if [ ! -r $lxcpath ]; then exit 0 diff --git a/src/lxc/lxc-ps.in b/src/lxc/lxc-ps.in index f4c197005..9c5bf83f7 100755 --- a/src/lxc/lxc-ps.in +++ b/src/lxc/lxc-ps.in @@ -1,6 +1,6 @@ #!/bin/bash # set -ex -lxcpath=@prefix@/var/lxc +lxcpath=@localstatedir@/lxc if [ ! -r $lxcpath ]; then exit 0