diff --git a/etc/postinst.in b/etc/postinst.in index 620d132b7..dc4853f00 100755 --- a/etc/postinst.in +++ b/etc/postinst.in @@ -14,7 +14,7 @@ mkdir -p @MAXSCALE_VARDIR@/run/maxscale # Create MaxScale user if it doesnt' exist getent passwd maxscale > /dev/null -if [ $? -eq 0 ] +if [ $? -ne 0 ] then groupadd -r maxscale useradd -r -s /bin/false -g maxscale maxscale