From fdb226aabbccf39722955831537c4dd9f402bb2c Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Wed, 18 Mar 2009 23:30:48 +0100 Subject: [PATCH] fix error messages about logfiles. Patch by Matthias Kaehlcke Signed-off-by: Gordon Hecker --- generic/e2lib.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/e2lib.lua b/generic/e2lib.lua index f11e1f1..e99a040 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -457,7 +457,7 @@ function e2lib.log_invocation(info, args) e2lib.mkdir(ulogdir, "-p") local rc, e = append_to_file(ulogfile, logstring) if not rc then - e2lib.abort(string.format("can't log to file %s: %s", logfile, e)) + e2lib.abort(string.format("can't log to file %s: %s", ulogfile, e)) end -- log to the project logfile @@ -467,7 +467,7 @@ function e2lib.log_invocation(info, args) e2lib.mkdir(plogdir, "-p") rc, e = append_to_file(plogfile, logstring) if not rc then - e2lib.abort(string.format("can't log to file %s: %s", logfile, e)) + e2lib.abort(string.format("can't log to file %s: %s", plogfile, e)) end end -- 2.39.5