diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-09-10 17:26:19 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-09-10 17:26:19 +0200 |
commit | 8cc65d1f5fae71e2ee07748e82ab274d8d45304b (patch) | |
tree | 7a3db9b906b9cef39164a03ccda1c51ea827254a /program/lib/Roundcube/rcube.php | |
parent | dcc4469844f8ce98bd8323b684e40cf64643e5ae (diff) |
Print to STDERR non-terminating errors in CLI mode
Diffstat (limited to 'program/lib/Roundcube/rcube.php')
-rw-r--r-- | program/lib/Roundcube/rcube.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php index eedc46c7a..3ab650cb1 100644 --- a/program/lib/Roundcube/rcube.php +++ b/program/lib/Roundcube/rcube.php @@ -1280,6 +1280,9 @@ class rcube exit(1); } + else if ($cli) { + fwrite(STDERR, 'ERROR: ' . $arg['message']); + } } |