summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-16 06:35:49 +0000
committeralecpl <alec@alec.pl>2009-09-16 06:35:49 +0000
commit20e251599fa595102188bffb9fc5ffc4a1ca0166 (patch)
tree226dd201f7837575d7f50f52ac71f1fa89ec104d /program/include/main.inc
parent34aec72131fee81697685f9781358e4871ea0150 (diff)
- return true after abort from write_log hook
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 388b2a13b..a99504cf5 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1026,7 +1026,7 @@ function write_log($name, $line)
$line = $log['line'];
$date = $log['date'];
if ($log['abort'])
- return;
+ return true;
}
$log_entry = sprintf("[%s]: %s\n", $date, $line);