aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-15 21:35:57 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-15 21:35:57 +0200
commit14bd436586ed65334146efbf6e54a7a2d26ebf5a (patch)
treede129c79b93fea8f2eaf2a7de37b45fa003b0aa9
parentb9a4b60e22ef5e4693f34e048723f9917ff35a87 (diff)
downloaddesktop-autoloader-14bd436586ed65334146efbf6e54a7a2d26ebf5a.zip
desktop-autoloader-14bd436586ed65334146efbf6e54a7a2d26ebf5a.tar.gz
desktop-autoloader-14bd436586ed65334146efbf6e54a7a2d26ebf5a.tar.bz2
contrib/desktop-autoloader.cron.d: Correctly escape the randomization calculation.
-rw-r--r--contrib/desktop-autoloader.cron.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/desktop-autoloader.cron.d b/contrib/desktop-autoloader.cron.d
index c0a0770..6b58bb9 100644
--- a/contrib/desktop-autoloader.cron.d
+++ b/contrib/desktop-autoloader.cron.d
@@ -3,4 +3,4 @@
SHELL=/bin/bash
-@reboot desktop-autoloader [ $(date +\%s) -lt $(date -d 07:30 +\%s) ] && sleep "$(( ( RANDOM % 200 ) + 61 ))" && desktop-autoloader
+@reboot desktop-autoloader [ $(date +\%s) -lt $(date -d 07:30 +\%s) ] && sleep "$(( ( RANDOM \% 200 ) + 61 ))" && desktop-autoloader