Fixed the useradd command in the postinst script having he command line arguments in the wrong order.

This commit is contained in:
Markus Makela 2015-05-12 08:11:10 +03:00
parent 3fcc1778bb
commit b41130b533

View File

@ -15,7 +15,7 @@ mkdir -p @MAXSCALE_VARDIR@/run/maxscale
# Create MaxScale user
if [ -f "/etc/passwd" -a "$(grep -c 'maxscale' /etc/passwd)" -eq 0 ]
then
useradd -s -r /bin/false maxscale
useradd -r -s /bin/false maxscale
groupadd maxscale
fi