diff options
author | Ondrej Mikle <ondrej.mikle@gmail.com> | 2012-06-16 22:41:59 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-07-31 11:41:40 -0400 |
commit | a7fc797edffc3ae6c2813ae354be35a1cd3c175e (patch) | |
tree | f352ba2d101c60324031a6beb71dfbe11efbe2c8 /tor.spec.in | |
parent | 0e778ac6044f991bdd144a36258df341aa969554 (diff) | |
download | tor-a7fc797edffc3ae6c2813ae354be35a1cd3c175e.tar.gz tor-a7fc797edffc3ae6c2813ae354be35a1cd3c175e.zip |
Fixed creating _tor user in RPM-based installs.
Diffstat (limited to 'tor.spec.in')
-rw-r--r-- | tor.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |