summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-14 19:24:46 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-14 19:24:46 +0000
commit64040f7446f658b35d5b891c0b7ae9e623f321c5 (patch)
tree9de46aa6a3c3a32d1c9832b58e10ae4d4d13517e
parentde49f7583295f4d4437d4f95589c0a2d904fc9c1 (diff)
downloaddrakx-64040f7446f658b35d5b891c0b7ae9e623f321c5.tar
drakx-64040f7446f658b35d5b891c0b7ae9e623f321c5.tar.gz
drakx-64040f7446f658b35d5b891c0b7ae9e623f321c5.tar.bz2
drakx-64040f7446f658b35d5b891c0b7ae9e623f321c5.tar.xz
drakx-64040f7446f658b35d5b891c0b7ae9e623f321c5.zip
fix logdrake crash when called from net_monitor
-rwxr-xr-xperl-install/standalone/logdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 601fb3caf..4fcddfd0d 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -217,6 +217,7 @@ sub quit() { ugtk2->exit(0) }
# search functions
#-------------------------------------------------------------
sub search() {
+ return if !$log_text->window;
$log_text->window->freeze_updates;
$log_buf->set_text('');
if ($::isFile) {