From: Gordon Hecker Date: Wed, 18 Mar 2009 22:30:48 +0000 (+0100) Subject: fix error messages about logfiles. X-Git-Tag: e2factory-2.3.1pre1~49 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=fdb226aabbccf39722955831537c4dd9f402bb2c;p=e2factory.git fix error messages about logfiles. Patch by Matthias Kaehlcke Signed-off-by: Gordon Hecker --- 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