ukui-power-manager/0002-log-printing-error-correction.patch
2022-07-29 12:00:29 +08:00

27 lines
611 B
Diff

From 0659b7e9acda89f6b309fbece65238946170c623 Mon Sep 17 00:00:00 2001
From: tanyulong2021 <tanyulong@kylinos.cn>
Date: Fri, 29 Jul 2022 11:49:51 +0800
Subject: [PATCH] log printing error correction
---
src/egg-debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/egg-debug.c b/src/egg-debug.c
index 2f140f2..96e65d9 100644
--- a/src/egg-debug.c
+++ b/src/egg-debug.c
@@ -243,7 +243,8 @@ egg_debug_enabled (void)
{
const gchar *env;
env = g_getenv (EGG_VERBOSE);
- return (g_strcmp0 (env, "1") == 0);
+ //return (g_strcmp0 (env, "1") == 0);
+ return 1;
}
/**
--
2.33.0