summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-21 17:03:09 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-21 17:03:09 +0100
commitfc2422cb892e80910cbeb538b657ba3b7dd36f2d (patch)
tree1541b9e51bbd1e25c3336101f41d1b91785564b0 /src
parentfc1ee38a0987911b0fec7bd0726d466e490f4a2e (diff)
Report job errors even in no-progress mode.
Diffstat (limited to 'src')
-rw-r--r--src/tools/makedcp.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/makedcp.cc b/src/tools/makedcp.cc
index 7bf87da0c..fef0dd016 100644
--- a/src/tools/makedcp.cc
+++ b/src/tools/makedcp.cc
@@ -160,6 +160,13 @@ main (int argc, char* argv[])
if (!(*i)->finished ()) {
all_done = false;
}
+
+ if (!progress && (*i)->finished_in_error ()) {
+ /* We won't see this error if we haven't been showing progress,
+ so show it now.
+ */
+ cout << (*i)->status() << "\n";
+ }
}
}