Commit c5f291cb authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #640 when there is no dir with data from fai for the system we got errors in the logs

Showing with 1 addition and 1 deletion
+1 -1
......@@ -473,7 +473,7 @@ class supportDaemon
*/
public function get_log_file($mac,$date,$file)
{
if(is_file("/$mac/$date/$file") {
if(is_file("/$mac/$date/$file")) {
return implode("",file($this->logdir."/$mac/$date/$file"));
} else {
return "";
......
  • bmortier @bmortier

    mentioned in issue #240 (closed)

    By bmortier on 2017-09-02T14:40:58 (imported from GitLab)

    ·

    mentioned in issue #240 (closed)

    By bmortier on 2017-09-02T14:40:58 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment