From 24679c7a8871f0de4c594b713b7307bb20741a8c Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Wed, 16 Dec 2009 16:54:56 +0100 Subject: [PATCH] bugfix: rename variable to fit coding policies Signed-off-by: Gordon Hecker --- generic/e2lib.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5