c89f70f1b7
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/expect#e13e9cb80d4c0f7031b80814385a34effd4ee7c4
13 lines
398 B
Diff
13 lines
398 B
Diff
diff -up expect5.45/example/passmass.orig expect5.45/example/passmass
|
|
--- expect5.45/example/passmass.orig 2011-09-06 13:04:41.439875491 +0200
|
|
+++ expect5.45/example/passmass 2011-09-06 13:04:54.663874571 +0200
|
|
@@ -178,7 +178,7 @@ for {set i 0} {$i<$argc} {incr i} {
|
|
}
|
|
|
|
if ($su) {
|
|
- send "su -\r"
|
|
+ send "/bin/su -\r"
|
|
expect -nocase "password:"
|
|
send "$password(old)\r"
|
|
expect "# "
|