]> git.e2factory.org Git - e2factory.git/commitdiff
bugfix: rename variable to fit coding policies
authorGordon Hecker <gh@emlix.com>
Wed, 16 Dec 2009 15:54:56 +0000 (16:54 +0100)
committerGordon Hecker <gh@emlix.com>
Wed, 13 Jan 2010 13:29:22 +0000 (14:29 +0100)
Signed-off-by: Gordon Hecker <gh@emlix.com>
generic/e2lib.lua

index 48ac73add31adf70c1d74be21f2a2465d32fe72b..b4d1f2b18ea8bcb02807a06adf8b6b8cecd57ab4 100644 (file)
@@ -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