From 99911660974eb350958e2c758ce37a1fa49a173d Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Iniesta Date: Thu, 30 Oct 2014 11:35:29 +0100 Subject: Refresh patches, remove unneeded --- debian/patches/better_systemd_detection.patch | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 debian/patches/better_systemd_detection.patch (limited to 'debian/patches/better_systemd_detection.patch') diff --git a/debian/patches/better_systemd_detection.patch b/debian/patches/better_systemd_detection.patch deleted file mode 100644 index 0270075..0000000 --- a/debian/patches/better_systemd_detection.patch +++ /dev/null @@ -1,25 +0,0 @@ -Description: Improved systemd detection for password prompt -Author: Martin Pitt -Bug-Debian: http://bugs.debian.org/747265 -Bug: https://community.openvpn.net/openvpn/ticket/274 -Origin: upstream, https://community.openvpn.net/openvpn/attachment/ticket/274/0001-Update-systemd-check-to-current-upstream-version.patch -Index: openvpn/src/openvpn/console.c -=================================================================== ---- openvpn.orig/src/openvpn/console.c 2012-11-05 16:29:30.000000000 +0100 -+++ openvpn/src/openvpn/console.c 2014-05-14 13:00:24.253185771 +0200 -@@ -145,13 +145,8 @@ - { - struct stat a, b; - -- /* We simply test whether the systemd cgroup hierarchy is -- * mounted */ -- -- return (lstat("/sys/fs/cgroup", &a) == 0) -- && (lstat("/sys/fs/cgroup/systemd", &b) == 0) -- && (a.st_dev != b.st_dev); -- -+ /* mirror what upstream sd_booted() does */ -+ return (access("/run/systemd/system", F_OK) >= 0); - } - - static bool -- cgit v1.2.3