diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-23 09:40:31 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-23 09:40:31 +0000 |
commit | e3f0c85d905457db4db34b03efe266ab99404f7f (patch) | |
tree | 21079508bda2b1fda9b16132d157e8d95c02c57c | |
parent | 838b3c8ffdc2f12055ad80648aa8b385534e19cb (diff) | |
download | mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar.gz mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar.bz2 mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar.xz mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.zip |
- mlog
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -169,7 +169,7 @@ sub setLabel { } sub configNetwork { $mLog .= N("Launching drakconnect\n"); system "/usr/sbin/drakconnect &" } sub launchUpdate { $mLog .= N("Launching MandrakeUpdate\n"); system "/usr/sbin/MandrakeUpdate &" } -sub installUpdates { $mLog .= N("Launching mdkupdate --applet"); system "/usr/sbin/mdkupdate", "--applet" } +sub installUpdates { $mLog .= N("Launching mdkupdate --applet\n"); system "/usr/sbin/mdkupdate", "--applet" } sub silentCheck { my $link = "http://www.mandrakeonline.net/online3_RemoteAction.php" . '?action=UpdateList'; my %h = getVarsFromSh($conffile); @@ -191,7 +191,7 @@ sub silentCheck { # 98 - wrong pass # 97 - host not active my $retcode = { - 10 => sub { $isAvailable = 0; $mLog .= N("System is up to date") ;go2State('okay') }, + 10 => sub { $isAvailable = 0; $mLog .= N("System is up to date\n") ;go2State('okay') }, 11 => sub { my @contents = sort ( split /\n/, $ct); my @t = split /\n/, `rpm -qa`; @@ -204,7 +204,7 @@ sub silentCheck { }, 97 => sub { $mLog .= N("Online services disabled. Contact MandrakeOnline site\n") ; go2State('disabled'); }, 98 => sub { $mLog .= N("Wrong Password.\n"); go2State('critical'); }, - 99 => sub { $mLog .= N("Wrong Action or host or login. "); go2State('critical'); } + 99 => sub { $mLog .= N("Wrong Action or host or login.\n"); go2State('critical'); } }; $retcode->{$u}->(); } |