LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File expect-5.43-passmass-su-full-path.patch of Package expect (Project home:non7top:epel5)

diff -up expect-5.43/example/passmass.orig expect-5.43/example/passmass
--- expect-5.43/example/passmass.orig	2011-09-05 16:16:46.408076591 +0200
+++ expect-5.43/example/passmass	2011-09-05 16:34:44.398002745 +0200
@@ -173,7 +173,7 @@ for {set i 0} {$i<$argc} {incr i} {
     }
 
     if ($su) {
-	send "su -\r"
+	send "/bin/su -\r"
 	expect "Password:"
 	send "$password(old)\r"
 	expect "# "