]> git.e2factory.org Git - e2factory.git/commitdiff
e2lib: don't call chdir in rmtempdirs
authorTobias Ulmer <tu@emlix.com>
Wed, 20 Dec 2017 17:38:38 +0000 (18:38 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 10 Dec 2018 17:00:11 +0000 (18:00 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua

index f567557193ddbc79216b3dea20515c9337dbbccd..685eb29215569ffcfa9c5aa6bbe2bbd1ae0c95ed 100644 (file)
@@ -1946,7 +1946,6 @@ end
 -- This function does not support error checking and is intended to be
 -- called from the finish() function.
 function e2lib.rmtempdirs()
-    e2lib.chdir("/")  -- avoid being inside a temporary directory
     while #e2lib.globals.tmpdirs > 0 do
         e2lib.rmtempdir(e2lib.globals.tmpdirs[1])
     end