summaryrefslogtreecommitdiff
path: root/quotes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'quotes.cc')
-rw-r--r--quotes.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/quotes.cc b/quotes.cc
index 65dc7316..99b031bf 100644
--- a/quotes.cc
+++ b/quotes.cc
@@ -46,6 +46,8 @@ void quotes_by_script::operator()(commodity_t& commodity,
success = false;
if (pclose(fp) != 0)
success = false;
+ } else {
+ success = false;
}
if (success && buf[0]) {