aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-02-19 03:52:57 +0000
committerBruce Momjian <bruce@momjian.us>2003-02-19 03:52:57 +0000
commit71f35f59167763ea933d19e2ee78abb3976b0040 (patch)
treede50463aef2bd692a09018f7790ae1d9125bfb8c /src
parent71e1f531d36b1fb54d0fa2568c26c4f1f44cab3f (diff)
downloadpostgresql-71f35f59167763ea933d19e2ee78abb3976b0040.tar.gz
postgresql-71f35f59167763ea933d19e2ee78abb3976b0040.zip
At present it is impossible to kill createuser except with kill -9
Oliver Elphick
Diffstat (limited to 'src')
-rw-r--r--src/bin/scripts/createuser4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/createuser b/src/bin/scripts/createuser
index 025993c1252..62263e99808 100644
--- a/src/bin/scripts/createuser
+++ b/src/bin/scripts/createuser
@@ -9,7 +9,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.30 2003/02/13 05:37:44 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.31 2003/02/19 03:52:57 momjian Exp $
#
# Note - this should NOT be setuid.
#
@@ -179,7 +179,7 @@ fi
# Don't want to leave the user blind if he breaks
# during password entry.
-trap 'stty echo >/dev/null 2>&1' 1 2 3 15
+trap 'stty echo >/dev/null 2>&1; echo; exit 1' 1 2 3 15
# Get missing user attributes