summaryrefslogtreecommitdiffstats
path: root/src/analyze
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-11-23 20:44:33 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-11-23 20:44:35 +0100
commit6636145b3e70cb9d7a4347bd364b24a45f85a4c7 (patch)
treeac126effe4e7e95d64fae066a6a2be4ed5d6e77a /src/analyze
parenthibernate-resume: actually set HibernateInfo.offset (diff)
downloadsystemd-6636145b3e70cb9d7a4347bd364b24a45f85a4c7.tar.xz
systemd-6636145b3e70cb9d7a4347bd364b24a45f85a4c7.zip
analyze: drop duplicated :
Before, this returns e.g. "/current_dir::", After, this returns e.g. "/current_dir:".
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze-verify-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze-verify-util.c b/src/analyze/analyze-verify-util.c
index 622a10f6b0..cb3d96b661 100644
--- a/src/analyze/analyze-verify-util.c
+++ b/src/analyze/analyze-verify-util.c
@@ -104,7 +104,7 @@ int verify_generate_path(char **ret, char **filenames) {
old = getenv("SYSTEMD_UNIT_PATH");
if (!streq_ptr(old, "")) {
if (!old)
- old = ":";
+ old = "";
r = strv_extend(&ans, old);
if (r < 0)