diff options
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-x | scripts/oe-selftest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest index e166521238..adfa92f707 100755 --- a/scripts/oe-selftest +++ b/scripts/oe-selftest | |||
@@ -62,7 +62,8 @@ log_prefix = "oe-selftest-" + t.strftime("%Y%m%d-%H%M%S") | |||
62 | 62 | ||
63 | def logger_create(): | 63 | def logger_create(): |
64 | log_file = log_prefix + ".log" | 64 | log_file = log_prefix + ".log" |
65 | if os.path.exists("oe-selftest.log"): os.remove("oe-selftest.log") | 65 | if os.path.lexists("oe-selftest.log"): |
66 | os.remove("oe-selftest.log") | ||
66 | os.symlink(log_file, "oe-selftest.log") | 67 | os.symlink(log_file, "oe-selftest.log") |
67 | 68 | ||
68 | log = logging.getLogger("selftest") | 69 | log = logging.getLogger("selftest") |