From 3ff4b07c84095f34d66acb3fe33c64c588541a00 Mon Sep 17 00:00:00 2001 From: lquidfire <47566855+lquidfire@users.noreply.github.com> Date: Fri, 15 Nov 2024 22:16:08 +0200 Subject: [PATCH] Remove accidental line-break in useradd command The name of the user-to-be-added was on a new line, instead of at the end of the useradd command. This caused an error in the rpm-script when it attempted to create the openarc user. --- contrib/spec/openarc.spec.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/spec/openarc.spec.in b/contrib/spec/openarc.spec.in index 8dcfa67..05e4912 100644 --- a/contrib/spec/openarc.spec.in +++ b/contrib/spec/openarc.spec.in @@ -153,8 +153,7 @@ EOF %pre if ! getent passwd %{name} >/dev/null 2>&1; then - %{_sbindir}/useradd -M -d %{_localstatedir}/lib/%{name} -r -s /sbin/nologin -%{name} + %{_sbindir}/useradd -M -d %{_localstatedir}/lib/%{name} -r -s /sbin/nologin %{name} if ! getent group %{name} >/dev/null; then %{_sbindir}/groupadd %{name} %{_sbindir}/usermod -g %{name} %{name}