summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 20:43:15 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 20:43:15 +1000
commit4312dd5de6155554ff3138d7c194b7cad91303e6 (patch)
tree085cf419ba4e3b20ae4f8bf4968eb795108369ad /templates
parent8d30c9fb4242321ccad7f4c19caaecae569bddb3 (diff)
...
Diffstat (limited to 'templates')
-rw-r--r--templates/themes/rrdtool/info.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/themes/rrdtool/info.php b/templates/themes/rrdtool/info.php
index 68210ad6..50d9ca04 100644
--- a/templates/themes/rrdtool/info.php
+++ b/templates/themes/rrdtool/info.php
@@ -50,11 +50,11 @@
if(function_exists('system')) {
$crontab = tempnam($config['tmp'], 'tinyboard-rrdtool');
file_write($crontab, $job);
- @system('crontab ' . escapeshellarg($crontab) . '; echo $?', $ret);
+ @system('crontab ' . escapeshellarg($crontab), $ret);
unlink($crontab);
if($ret === 0)
- return; // it seems to install okay?
+ return ''; // it seems to install okay?
}
return '<h2>I couldn\'t install the crontab!</h2>' .