* Justin Pryzby <[EMAIL PROTECTED]> [071018 08:01]:
> Package: util-vserver
> Version: 0.30.212-1
> 
> vserver currently does:
> 
> |: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
> 
> |test -e "$UTIL_VSERVER_VARS" || 
> |   {
> |        echo $"Can not find util-vserver installation (the file 
> '$UTIL_VSERVER_V
> |ARS' is expected); aborting..." >&2
> |        exit 1
> |   }

Could you be more explicit about where exactly this occurs? Since the
util-vserver package contains somewhere near 500 files, it would help if
you were more specific.

> Policy doceument recommends:
>           test -f <program-executed-later-in-script> || exit 0

What policy document? Please provide a citation.

> So I think this should either be silent and exit 0, or perhaps an
> earlier test should do something like [ -e /usr/sbin/vserver ] || exit 0.
> 
> Then the error message and exit would be automatic, if the script were
> set -e (hint, hint):
> 
> $ . /asdf
> bash: /asdf: No such file or directory
> $ echo $?
> 1
 
I dont follow you.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to