From: Gordon Hecker Date: Wed, 16 Dec 2009 15:54:56 +0000 (+0100) Subject: bugfix: rename variable to fit coding policies X-Git-Tag: e2factory-2.3.4pre1~77 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=24679c7a8871f0de4c594b713b7307bb20741a8c;p=e2factory.git bugfix: rename variable to fit coding policies Signed-off-by: Gordon Hecker --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 48ac73a..b4d1f2b 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -547,14 +547,14 @@ end --- exit from the tool, cleaning up temporary files and directories -- @param rc number: return code (optional, defaults to 0) -- @return This function does not return. -function e2lib.finish(rc) - if not rc then - rc = 0 +function e2lib.finish(returncode) + if not returncode then + returncode = 0 end e2lib.rmtempdirs() e2lib.rmtempfiles() e2lib.lock:cleanup() - os.exit(rc) + os.exit(returncode) end