Print to STDERR non-terminating errors in CLI mode

pull/219/head
Aleksander Machniak 10 years ago
parent dcc4469844
commit 8cc65d1f5f

@ -1280,6 +1280,9 @@ class rcube
exit(1);
}
else if ($cli) {
fwrite(STDERR, 'ERROR: ' . $arg['message']);
}
}

Loading…
Cancel
Save