single '#' was detected which does not really make sense for comments...
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2170
94cd875c-1c1d-0410-91d2-
eb244daf1a30
test -e "$f" || return 0
while read cap; do
case x"$cap" in
- (x|x\#) ;;
+ (x|x\#*) ;;
(*) OPTS_VATTRIBUTE=( "${OPTS_VATTRIBUTE[@]}" --ccap "$cap" );;
esac
done <"$f"
test -e "$f" || return 0
while read cap; do
case x"$cap" in
- (x|x\#) ;;
+ (x|x\#*) ;;
(*) OPTS_VATTRIBUTE=( "${OPTS_VATTRIBUTE[@]}" --bcap "$cap" );;
esac
done <"$f"
while read cap; do
case x"$cap" in
- (x|x\#) ;;
+ (x|x\#*) ;;
(!CAP_SYSCHROOT)
CAP_OPTS=( "${CAP_OPTS[@]}" --cap "$cap" )
CAPCHROOT_OPTS=( "${CAPCHROOT_OPTS[@]}" --nochroot )
test ! -e "$vdir"/flags || \
while read flag; do
case x"$flag" in
- (x|x\#) ;;
+ (x|x\#*) ;;
(xnamespace) ;;
(xfakeinit)
_IS_FAKEINIT=1