diff options
-rwxr-xr-x | py/mock.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -566,6 +566,8 @@ def main(ret): elif options.mode == 'shell': chroot.tryLockBuildRoot() + if not os.path.exists(chroot.makeChrootPath()): + raise RuntimeError, "chroot %s not initialized!" % chroot.makeChrootPath() try: chroot._mountall() cmd = ' '.join(args) |