Ajout : roundcube.
[lhc/ateliers.git] / local / postgresql-user-create
index 56b37c9..902758b 100755 (executable)
@@ -1,8 +1,7 @@
 #!/bin/sh -eux
 user="$1"
 db="${2-}"
-sudo -u postgres psql "${db-}" -a -f - <<-EOF
-       \set ON_ERROR_STOP on
+sudo -u postgres psql "${db-}" -a -f - --set ON_ERROR_STOP=1 <<-EOF
        DO LANGUAGE plpgsql \$\$
        BEGIN
                IF NOT EXISTS (