ukui-power-manager/0001-fix-Log-print-error-correction.patch
2021-10-28 19:47:13 +08:00

42 lines
1.0 KiB
Diff

From e1f4ecef5706e6d00dc5833008a2d19107f0a8ff Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Thu, 28 Oct 2021 19:43:07 +0800
Subject: [PATCH] fix Log print error correction
---
debian/changelog | 6 ++++++
src/egg-debug.c | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7edfaf9..f263478 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ukui-power-manager (2.1.29~rc2) v101; urgency=medium
+
+ * 添加日志打印輸出
+
+ -- zhangxinyu1 <zhangxinyu1@kylinos.cn> Wed, 21 Apr 2021 17:49:15 +0800
+
ukui-power-manager (2.0.2-1+1028) focal; urgency=medium
* Daily build.
diff --git a/src/egg-debug.c b/src/egg-debug.c
index 2f140f2..6b195a3 100755
--- 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 TRUE;
}
/**
--
2.30.0