xenctx is now in /usr/local/lib/xen/bin/xenctx.
                     ^^^^^^
Find it by setting PATH in the shell command.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
Acked-by: Ian Campbell <ian.campb...@citrix.com>
---
 ts-logs-capture |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ts-logs-capture b/ts-logs-capture
index 2498416..13795e8 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -210,8 +210,10 @@ sub fetch_logs_guest ($) {
            my $sysmaparg = !defined $kernpath ? '' :
                $kernpath !~ m,/vmlinuz-, ? die "$kernpath ?" :
                "-s $`/System.map-$'";
-           try_cmd_output_save("/usr/lib/xen/bin/xenctx ".$sysmaparg.
-                               " $gho->{Domid} $vcpu");
+           try_cmd_output_save(
+               'PATH=/usr/local/lib/xen/bin:/usr/lib/xen/bin:$PATH; '.
+               "xenctx $sysmaparg $gho->{Domid} $vcpu"
+               );
         }
     }
 
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to