Skip to content

Commit e956aca

Browse files
author
Marius Cramer
committed
- patches for some errors
1 parent 0b45705 commit e956aca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
unset($cronjob);
7575
continue;
7676
}
77-
print 'Included ' . $class_name . ' from ' . $file_path . ' -> will now run job.' . "\n";
77+
print 'Included ' . $class_name . ' from ' . $path . '/' . $f . ' -> will now run job.' . "\n";
7878

7979
$cronjob->run();
8080

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2365,7 +2365,7 @@ private function hhvm_update($data, $web_config) {
23652365
} elseif($data['new']['php'] != 'hhvm' && $data['old']['php'] == 'hhvm') {
23662366
exec('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' stop >/dev/null 2>&1');
23672367
exec('/usr/sbin/update-rc.d hhvm_' . $data['old']['system_user'] . ' remove >/dev/null 2>&1');
2368-
unlink('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' >/dev/null 2>&1');
2368+
unlink('/etc/init.d/hhvm_' . $data['old']['system_user']);
23692369
}
23702370
}
23712371

0 commit comments

Comments
 (0)