From: Gordon Hecker Date: Wed, 22 Apr 2009 15:39:05 +0000 (+0200) Subject: fix error message when trying to enter a non-existent playground X-Git-Tag: e2factory-2.3.1pre1~39 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=54d16a576697bdff295c593f57de1d30abdb30a2;p=e2factory.git fix error message when trying to enter a non-existent playground Signed-off-by: Gordon Hecker --- diff --git a/local/playground.lua b/local/playground.lua index 9f1e2b1..f55fb37 100644 --- a/local/playground.lua +++ b/local/playground.lua @@ -75,6 +75,9 @@ rc, re = e2build.build_config(info, r, {}) if not rc then e2lib.abort(e:cat(re)) end +if not e2build.chroot_exists(info, r) then + e2lib.abort("playground does not exist") +end if opts.showpath then print(info.results[r].build_config.c) e2lib.finish(0)