]> git.pld-linux.org Git - packages/expect.git/blame - expect-5.45-mkpasswd-dash.patch
- updated to 5.45.4
[packages/expect.git] / expect-5.45-mkpasswd-dash.patch
CommitLineData
dade3e15
AM
1diff -up expect5.45/example/mkpasswd.orig expect5.45/example/mkpasswd
2--- expect5.45/example/mkpasswd.orig 2011-03-16 13:23:23.125480017 +0100
3+++ expect5.45/example/mkpasswd 2011-03-16 13:24:08.739353139 +0100
4@@ -202,7 +202,8 @@ if {[info exists user]} {
5 expect {
6 "assword*:" {
7 # some systems say "Password (again):"
8- send "$password\r"
9+ send -- "$password\r"
10+ # "--" because of passwords beginning with dash
11 exp_continue
12 }
13 }
This page took 0.0214 seconds and 4 git commands to generate.