summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-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 {