X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Ffunctions;h=f0ddff2a921364a80484cdbad4df1ec5ab882684;hb=636875649376f36e02848dde1c1017a119b4fff4;hp=d15cd41f170c52fbbf5e995d731588350580dd89;hpb=39597d225451b1d13a2d1a7b3c83060019e799b0;p=util-vserver.git diff --git a/scripts/functions b/scripts/functions index d15cd41..f0ddff2 100644 --- a/scripts/functions +++ b/scripts/functions @@ -844,9 +844,11 @@ function vshelper.doSanityCheck vshelper=$(cat "$proc_file") $_CMP -s "$vshelper" "$_VSHELPER" || { + local readable="" + test -r "$vshelper" && readable=1 warnings=( "${warnings[@]}" $"The configured vshelper '$vshelper' does not match the 'vshelper' - script of the util-vserver package" + script of the util-vserver package.${readable:+ Maybe you have two versions installed?}" ) solution_disable=1 solution_sysctl=1