diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-03 18:06:24 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-03 18:06:24 +0000 |
commit | 9723676d45786199275d87d516b122977a007111 (patch) | |
tree | dd0a5669dfe6a1908416812412f39331b262204f /mdkapplet | |
parent | 9f44388feaa37d8e8db6236e325f64113ceba153 (diff) | |
download | mgaonline-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-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |