Fixed the useradd command in the postinst script having he command line arguments in the wrong order.
This commit is contained in:
parent
3fcc1778bb
commit
b41130b533
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user