openbsd-ports/net/csup/patches/patch-cpasswd_sh
2010-10-19 20:11:49 +00:00

14 lines
351 B
Plaintext

$OpenBSD: patch-cpasswd_sh,v 1.1 2010/10/19 20:11:49 naddy Exp $
--- cpasswd.sh.orig Tue Oct 19 21:38:43 2010
+++ cpasswd.sh Tue Oct 19 21:39:01 2010
@@ -18,7 +18,8 @@ countChars() {
readPassword() {
while [ true ]; do
stty -echo
- read -p "$1" _password
+ echo -n "$1"
+ read _password
stty echo
echo ""
countChars "$_password" ":"