diff options
author | Renaud Chaillat <rchaillat@mandriva.com> | 2001-09-04 15:58:58 +0000 |
---|---|---|
committer | Renaud Chaillat <rchaillat@mandriva.com> | 2001-09-04 15:58:58 +0000 |
commit | 83d38153167eed7a987fece2f7ed3bff0ad108db (patch) | |
tree | f80b473e326c3baa8e5efec29abb5c974988720f /mdkonline | |
parent | 29605b3a54e7cb9961651b3a2c54557b99fe8323 (diff) | |
download | mgaonline-83d38153167eed7a987fece2f7ed3bff0ad108db.tar mgaonline-83d38153167eed7a987fece2f7ed3bff0ad108db.tar.gz mgaonline-83d38153167eed7a987fece2f7ed3bff0ad108db.tar.bz2 mgaonline-83d38153167eed7a987fece2f7ed3bff0ad108db.tar.xz mgaonline-83d38153167eed7a987fece2f7ed3bff0ad108db.zip |
fixed a regexp
Diffstat (limited to 'mdkonline')
-rwxr-xr-x | mdkonline | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -206,7 +206,7 @@ sub test_passwd () { $login = $login_user->get_text(); $passwd = $passwd_user->get_text(); - if ($login !~ /\s*/ && $passwd !~ /\s*/) { + if ($login !~ /\s+/ && $passwd !~ /\s+/) { # OLD METHOD, keep it for next version ?... # my $ssh_script = ""; @@ -257,7 +257,8 @@ sub send_config { # When we arrive here, we're sure the login/passwd is correct # print STDERR "Sending config\n"; - `/usr/sbin/drakbug_report > /root/drakbug_report.log`; + `/usr/sbin/drakbug_report > /root/$login-drakbug_report.log`; + `/usr/bin/bzip2 -9 /root/$login-drakbug_report.log`; my $scp_script = ""; foreach ("/usr/bin/scpcall.exp","./scpcall.exp") { |