summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordcbw <dcbw>2006-01-24 17:15:10 +0000
committerdcbw <dcbw>2006-01-24 17:15:10 +0000
commitbc159ff3682548d87a7da2df610c82c4e6f8a923 (patch)
tree63234d297c845d7bbd2d1b5104a5118c00fdfe16
parente242c19abf8f91641b7bf6e01c90ad1eb0ccd58a (diff)
Back out setpgrp patch, found a better way to do it in plague
-rw-r--r--mock.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/mock.py b/mock.py
index 9129ede..bf5919a 100644
--- a/mock.py
+++ b/mock.py
@@ -648,8 +648,6 @@ def command_parse():
help="Arbitrary, unique extension to append to buildroot directory name")
parser.add_option("--quiet", action ="store_true", dest="quiet",
default=False, help="quiet down output")
- parser.add_option("--setpgrp", action ="store_true", dest="setpgrp",
- default=False, help="starts a new process group for mock")
return parser.parse_args()
@@ -713,12 +711,7 @@ def main():
if len(args) < 1:
error("No srpm or command specified - nothing to do")
sys.exit(50)
-
- # If requested, become a process group leader so that us and
- # _all_ of our children can more easily be killed with kill(2)
- if options.setpgrp:
- os.setpgrp()
-
+
# read in the config file by chroot name
if options.chroot.endswith('.cfg'):
cfg = '%s/%s' % (config_path, options.chroot)