]> git.pld-linux.org Git - packages/rc-scripts.git/blame - rc-scripts-vserver-is-chroot.patch
- typo
[packages/rc-scripts.git] / rc-scripts-vserver-is-chroot.patch
CommitLineData
a9bd0834
JR
1diff -ur rc-scripts-0.4.0.25/rc.d/init.d/functions rc-scripts/rc.d/init.d/functions
2--- rc-scripts-0.4.0.25/rc.d/init.d/functions 2005-11-26 16:15:22.000000000 +0100
3+++ rc-scripts/rc.d/init.d/functions 2006-01-20 16:40:17.000000000 +0100
4@@ -392,8 +392,13 @@
5 # - inside chroot get only those processes, which are inside chroot.
6 # - don't filter out pids which do not have corresponding running processes (process died etc)
7 # (note: some processes like named are chrooted but run outside chroot)
8+# - do nothing inside vserver
9 filter_chroot()
10 {
11+ if is_yes "$VSERVER"; then
12+ echo $@
13+ return
14+ fi
15 if [ $# -lt 1 -o ! -d /proc/1 ] ; then
16 echo $@
17 return
This page took 0.028023 seconds and 4 git commands to generate.