From 3c111597768a13ae05463b044f6e4d6dc18d8be0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Apr 2017 13:39:01 +0300 Subject: return result codes if DB connection or --debug-feed fails --- update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 2601e965c..23289f1d1 100755 --- a/update.php +++ b/update.php @@ -401,7 +401,9 @@ $_REQUEST['xdebug'] = 1; - update_rss_feed($feed); + $rc = is_object(update_rss_feed($feed)) ? 0 : 1; + + exit($rc); } if (isset($options["decrypt-feeds"])) { -- cgit v1.2.3-54-g00ecf