summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-03 18:06:24 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-03 18:06:24 +0000
commit9723676d45786199275d87d516b122977a007111 (patch)
treedd0a5669dfe6a1908416812412f39331b262204f /mdkapplet
parent9f44388feaa37d8e8db6236e325f64113ceba153 (diff)
downloadmgaonline-9723676d45786199275d87d516b122977a007111.tar
mgaonline-9723676d45786199275d87d516b122977a007111.tar.gz
mgaonline-9723676d45786199275d87d516b122977a007111.tar.bz2
mgaonline-9723676d45786199275d87d516b122977a007111.tar.xz
mgaonline-9723676d45786199275d87d516b122977a007111.zip
- use c::exit(0)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 222382be..12a213b5 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -108,7 +108,7 @@ $eventbox->signal_connect(button_press_event => sub {
$_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time);
});
-shouldStart();
+shouldStart() or c::_exit(0);
checkUpdates();
cronUpdate();
@@ -267,7 +267,7 @@ sub displayLogs {
}
sub shouldStart() {
my %p = getVarsFromSh($confpers);
- $p{AUTOSTART} eq 'FALSE' and mainQuit();
+ my $ret = $p{AUTOSTART} eq 'FALSE' ? 0 : 1;
}
sub setState {
my $state_type = shift;