summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-05 14:03:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-05 14:03:47 +0000
commit06507452d62fdbe5f9ff42e1188348704976ccd4 (patch)
tree80c6f4b3e13f2624e9319446f0e4669f9c81a58d
parent9e149856f323631be0d7d17c3dea301b06446b11 (diff)
downloadmgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar
mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar.gz
mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar.bz2
mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar.xz
mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.zip
(shouldStart) simplify
-rwxr-xr-xmdkapplet3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index c7eff751..dd57bfd4 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -440,8 +440,7 @@ sub isNetwork() {
sub shouldStart() {
my %p = getVarsFromSh($localfile);
- my $ret = $p{AUTOSTART} eq 'FALSE' ? 0 : 1;
- $ret;
+ to_bool($p{AUTOSTART} ne 'FALSE');
}
sub setState {