From: Tobias Ulmer Date: Wed, 20 Dec 2017 17:38:38 +0000 (+0100) Subject: e2lib: don't call chdir in rmtempdirs X-Git-Tag: e2factory-2.3.18rc1~91 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=4af818e8e5bce42aa7c1edae4c5d5d5eb4047829;p=e2factory.git e2lib: don't call chdir in rmtempdirs Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index f567557..685eb29 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -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