commit b8ae1129f9645681976132975abb08da3ecf0499
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Nov 22 22:51:44 2021 +0000
minor scriptlet improvement
VirtualBox.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index a1603af..288d708 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -725,9 +725,9 @@ fi
# Add a group "vboxsf" for Shared Folders access
# All users which want to access the auto-mounted Shared Folders have to
# be added to this group.
-getent group vboxsf >/dev/null || groupadd -r vboxsf 2>&1
+getent group vboxsf >/dev/null || groupadd -r vboxsf
getent passwd vboxadd >/dev/null || \
- useradd -r -g 1 -d /var/run/vboxadd -s /sbin/nologin vboxadd 2>&1
+ useradd -r -g 1 -d /var/run/vboxadd -s /sbin/nologin vboxadd
# Guest additions install
%post guest-additions