git » gnupg.git » main » tree

[main] / gnupg-2.4-keep-systemd-support.patch

From: NIIBE Yutaka <gniibe@fsij.org>
Date: Mon, 21 Aug 2023 14:22:50 +0900
Subject: avoid-systemd-deprecation-warning

diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 1db422737..b49c31f83 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1395,9 +1395,6 @@ main (int argc, char **argv)
       agent_exit (0);
     }
 
-  if (is_supervised && !opt.quiet)
-    log_info(_("WARNING: \"%s\" is a deprecated option\n"), "--supervised");
-
   if (is_supervised)
     ;
   else if (!opt.extra_socket)
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index bb54f4edd..7e965105e 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -1300,9 +1300,6 @@ main (int argc, char **argv)
     {
       struct stat statbuf;
 
-      if (!opt.quiet)
-        log_info(_("WARNING: \"%s\" is a deprecated option\n"), "--supervised");
-
       /* In supervised mode, we expect file descriptor 3 to be an
          already opened, listening socket.