[pkg-remote-commits] [xrdp] 06/10: Remove invalid sudo group check.

Dominik George natureshadow-guest at moszumanska.debian.org
Fri Dec 15 10:50:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository xrdp.

commit 0d80e91ec2ecb20b53b6cd02c61e36b980c38161
Author: Dominik George <nik at naturalnet.de>
Date:   Fri Dec 15 11:46:40 2017 +0100

    Remove invalid sudo group check.
---
 debian/xrdp-build-pulse-modules | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/xrdp-build-pulse-modules b/debian/xrdp-build-pulse-modules
index 763e875..53e61bd 100755
--- a/debian/xrdp-build-pulse-modules
+++ b/debian/xrdp-build-pulse-modules
@@ -11,10 +11,8 @@
 set -e
 
 if [[ $UID -ne 0 ]] ; then 
-    if ! groups | egrep -q sudo ; then
-        echo "ERROR: You need to be root or a sudo group member."
-        exit 1
-    fi
+	echo "ERROR: You need to be root."
+	exit 1
 fi
 
 TMP=$(mktemp -d)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/xrdp.git



More information about the pkg-remote-commits mailing list