diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-05 14:03:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-05 14:03:47 +0000 |
commit | 06507452d62fdbe5f9ff42e1188348704976ccd4 (patch) | |
tree | 80c6f4b3e13f2624e9319446f0e4669f9c81a58d | |
parent | 9e149856f323631be0d7d17c3dea301b06446b11 (diff) | |
download | mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar.gz mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar.bz2 mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.tar.xz mgaonline-06507452d62fdbe5f9ff42e1188348704976ccd4.zip |
(shouldStart) simplify
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 { |