From: Ondrej Mikle Date: Sat, 16 Jun 2012 20:41:59 +0000 (+0200) Subject: Fixed creating _tor user in RPM-based installs. X-Git-Tag: tor-0.2.3.20-rc~3^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7fc797edffc3ae6c2813ae354be35a1cd3c175e;p=thirdparty%2Ftor.git Fixed creating _tor user in RPM-based installs. --- diff --git a/tor.spec.in b/tor.spec.in index 127bf361d7..5605586323 100644 --- a/tor.spec.in +++ b/tor.spec.in @@ -213,7 +213,7 @@ if [ ! -n "`/usr/bin/id -u %{toruser} 2>/dev/null`" ]; then # One would also like to default the UID, but doing that properly would # also require thought. if [ -x %{_sbindir}/nologin ]; then - %{_sbindir}/useradd -r -g %{torgroup} -d% {_localstatedir}/lib/%{name} -s %{_sbindir}/nologin %{toruser} 2> /dev/null + %{_sbindir}/useradd -r -g %{torgroup} -d %{_localstatedir}/lib/%{name} -s %{_sbindir}/nologin %{toruser} 2> /dev/null else %{_sbindir}/useradd -r -g %{torgroup} -d %{_localstatedir}/lib/%{name} -s /bin/false %{toruser} 2> /dev/null fi