diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-08-19 14:20:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 17:59:32 +0100 |
commit | ddcaf8950a0b1cc74806e1ad7b49a1de0ea0d2b1 (patch) | |
tree | 1b9d4c2ee7039d11e57d33d9d2ef1bffd9154aa6 /bin | |
parent | 24035c1daad5a904c3372d21d44191ee8182338f (diff) | |
download | bitbake-ddcaf8950a0b1cc74806e1ad7b49a1de0ea0d2b1.zip |
bitbake-layers: ensure we exit if BBLAYERS_LAYERINDEX_URL is not set
We were printing an error here, but not exiting.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bitbake-layers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers index 5518c636..1c0d520d 100755 --- a/bin/bitbake-layers +++ b/bin/bitbake-layers @@ -265,6 +265,7 @@ Removes the specified layer from bblayers.conf apiurl = self.bbhandler.config_data.getVar('BBLAYERS_LAYERINDEX_URL', True) if not apiurl: logger.error("Cannot get BBLAYERS_LAYERINDEX_URL") + return 1 else: if apiurl[-1] != '/': apiurl += '/' |