summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-03 14:23:14 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-03 14:23:14 +0000
commitc6015d0fcb2efac159932dbd492d63ea0bcfd2c4 (patch)
tree036bd6126cae27f845b459b50535e347103c2205
parenta1f4d390c864895acdc015fe93967a761fae3d1d (diff)
downloadmgaonline-c6015d0fcb2efac159932dbd492d63ea0bcfd2c4.tar
mgaonline-c6015d0fcb2efac159932dbd492d63ea0bcfd2c4.tar.gz
mgaonline-c6015d0fcb2efac159932dbd492d63ea0bcfd2c4.tar.bz2
mgaonline-c6015d0fcb2efac159932dbd492d63ea0bcfd2c4.tar.xz
mgaonline-c6015d0fcb2efac159932dbd492d63ea0bcfd2c4.zip
(setAutoStart) make it more readable
-rwxr-xr-xmdkapplet5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 1d441003..b9df9b70 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -636,10 +636,11 @@ sub setAutoStart {
my $date = getTime();
if (-f $localfile) {
setVar('AUTOSTART', $state);
- } else { output_p $localfile,
+ } else {
+ output_p($localfile,
qq(AUTOSTART=$state
LASTCHECK=$date
-);
+));
}
}