projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8781a1f
)
Back-patch fix to allow createuser to exit on control-C (Oliver Elphick)
author
Tom Lane
<
[email protected]
>
Fri, 16 May 2003 15:17:02 +0000
(15:17 +0000)
committer
Tom Lane
<
[email protected]
>
Fri, 16 May 2003 15:17:02 +0000
(15:17 +0000)
src/bin/scripts/createuser
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/scripts/createuser
b/src/bin/scripts/createuser
index 0ac8cadc949039d9ea55d8451eed9a4dbd8631a2..ad306665c1ee3ad1523ade1fb8424e6f36f84952 100644
(file)
--- a/
src/bin/scripts/createuser
+++ b/
src/bin/scripts/createuser
@@
-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