Oops. I'll fix this.
authorBruce Momjian <[email protected]>
Thu, 3 Sep 1998 02:12:14 +0000 (02:12 +0000)
committerBruce Momjian <[email protected]>
Thu, 3 Sep 1998 02:12:14 +0000 (02:12 +0000)
Here are patches for bin/createdb/createdb.sh.
--
Tatsuo Ishii
[email protected]

src/bin/createdb/createdb.sh

index 0eefe639046f9bb4cd4c75ab5eaf3eeaa139358c..5ee828660d3e73efd0dc1321012b08880e2d53bd 100644 (file)
@@ -11,7 +11,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.10 1998/07/26 04:31:13 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.11 1998/09/03 02:12:14 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -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