summaryrefslogtreecommitdiff
path: root/tor.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'tor.spec.in')
-rw-r--r--tor.spec.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/tor.spec.in b/tor.spec.in
index 7c7b4a63a3..68e9eb6863 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -200,7 +200,6 @@ if [ ! -n "`/usr/bin/id -u %{runuser} 2>/dev/null`" ]; then
# One would also like to default the UID, but doing that properly would
# also require thought.
if [ -x /sbin/nologin ]; then
- if [ -x /sbin/nologin ]; then
%{_sbindir}/useradd -r -g %{runuser} -d %{localstatedir}/lib/%{name} -s /sbin/nologin %{runuser} 2> /dev/null
else
%{_sbindir}/useradd -r -g %{runuser} -d %{localstatedir}/lib/%{name} -s /bin/false %{runuser} 2> /dev/null