Oops. I'll fix this.
authorBruce Momjian <bruce@momjian.us>
Thu, 3 Sep 1998 02:12:14 +0000 (02:12 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 3 Sep 1998 02:12:14 +0000 (02:12 +0000)
Here are patches for bin/createdb/createdb.sh.
--
Tatsuo Ishii
t-ishii@sra.co.jp

src/bin/createdb/createdb.sh

index 5c5d3eb11d213c30a5738b9eac76f12628cfdb85..ce4ec7746525a6b5629f18ce8e178933922fa9fe 100644 (file)
@@ -67,9 +67,10 @@ done
 if [ "$usage" ]; then
        if [ -z "$MBENABLED" ];then
                echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> [dbname]"
+               exit 1
        else
                echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> -E <encoding> [dbname]"
-       exit 1
+               exit 1
        fi
 fi