From cee3d4b9c4788a51f51c815c9c389034f5a6c354 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 27 Jan 2019 12:19:11 +0100 Subject: [PATCH] - use full path for vserver-info --- bash-completion-vserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-completion-vserver.sh b/bash-completion-vserver.sh index 1541161..f377ac7 100644 --- a/bash-completion-vserver.sh +++ b/bash-completion-vserver.sh @@ -26,7 +26,7 @@ have vserver-info && { -: ${UTIL_VSERVER_VARS:=$(vserver-info - SYSINFO | awk '/prefix:/{ print $2}')/$(test -d /lib64 && echo lib64 || echo lib)/util-vserver/util-vserver-vars} +: ${UTIL_VSERVER_VARS:=$(/usr/sbin/vserver-info - SYSINFO | awk '/prefix:/{ print $2}')/$(test -d /lib64 && echo lib64 || echo lib)/util-vserver/util-vserver-vars} test -e "$UTIL_VSERVER_VARS" && { if [ -z "$_VS_NEWLINE" -o -z "$VS_ALLVSERVERS_ARGS" ] -- 2.44.0