diff options
Diffstat (limited to 'mdkonline')
-rwxr-xr-x | mdkonline | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -188,7 +188,7 @@ sub test_passwd () { # print STDERR "Login: $login\n"; my $ssh_script = ""; - foreach ("./sshlogin.exp", "/usr/bin/sshlogin.exp") { + foreach ("/usr/bin/sshlogin.exp","./sshlogin.exp") { [ -e "$_" ] and $ssh_script="$_", last; } # print "Exec: $ssh_script $login $authentication_host $passwd \n"; @@ -213,7 +213,7 @@ sub send_config { `/usr/sbin/drakbug_report > /root/drakbug_report.log`; my $scp_script = ""; - foreach ("./scpcall.exp", "/usr/bin/scpcall.exp") { + foreach ("/usr/bin/scpcall.exp","./scpcall.exp") { [ -e "$_" ] and $scp_script="$_", last; } # print "Exec: $scp_script /root/drakbug_report.log $login $authentication_host $passwd \n"; |