diff options
author | Daouda Lo <daouda@mandriva.com> | 2002-08-09 16:17:53 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2002-08-09 16:17:53 +0000 |
commit | a75ce143801e8d813f85ee8f77571307920339a2 (patch) | |
tree | 13710ee3174b7a0afae647879b82efb9e8384ee3 | |
parent | 7610de4cf7169aba66a3e7df2eb986f941a39196 (diff) | |
download | control-center-a75ce143801e8d813f85ee8f77571307920339a2.tar control-center-a75ce143801e8d813f85ee8f77571307920339a2.tar.gz control-center-a75ce143801e8d813f85ee8f77571307920339a2.tar.bz2 control-center-a75ce143801e8d813f85ee8f77571307920339a2.tar.xz control-center-a75ce143801e8d813f85ee8f77571307920339a2.zip |
- fix the log displays
-rwxr-xr-x | control-center | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/control-center b/control-center index 0a18cf53..299a5c26 100755 --- a/control-center +++ b/control-center @@ -559,6 +559,7 @@ sub compute_exec_string { $emb_box->show; $emb_socket->realize; $exec = $exec . " --embedded " . $emb_socket->window->XWINDOW . " " . $$; + $exp_socket and $exec_log = "logdrake --explain=$log_exp --embedded " . $exp_socket->window->XWINDOW . " " . $$; } if ($gtkplug > 0) { $emb_wait->show; @@ -589,13 +590,11 @@ sub compute_exec_string { } } if ($logs) { - $exp_socket->realize; - $exp_frame->show_all; - my $pid; unless ($pid = fork) { splash_warning(_("cannot fork: %s", $~)) unless defined $pid; - exec("logdrake --explain=dra --embedded " . $exp_socket->window->XWINDOW . " " . $$); + print "explain : $log_exp \n "; + exec("$exec_log"); } push @pid_launched, $pid; } |