From bdec4179b7d3eb2c1e2a1384df3b842da42fa809 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 16 May 2003 15:17:02 +0000 Subject: [PATCH] Back-patch fix to allow createuser to exit on control-C (Oliver Elphick) --- src/bin/scripts/createuser | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/scripts/createuser b/src/bin/scripts/createuser index f3983cfcba..8b596cc02f 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.29 2002/10/18 22:05:36 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.29.2.1 2003/05/16 15:17:02 tgl 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 -- 2.50.0