Skip to content

Commit

Permalink
[backend] avoid error with lacking /events directory
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed May 11, 2015
1 parent 3101c3d commit 37ef809
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_srcserver
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ sub notify {
}
}
my @n = map {"$_=$p->{$_}"} grep {defined($p->{$_}) && !ref($p->{$_})} sort keys %{$p || {}};
mkdir_p($eventdir);
BSFileDB::fdb_add_i("$eventdir/lastnotifications", $notificationlay, {'type' => $type, 'time' => $time, 'data' => \@n});
}

Expand Down

0 comments on commit 37ef809

Please sign in to comment.