Don't suppress errors with -qq.
committer: mfx <mfx> 1142081041 +0000
This commit is contained in:
+1
-1
@@ -266,7 +266,7 @@ void do_files(int i, int argc, char *argv[])
|
|||||||
do_one_file(iname,oname);
|
do_one_file(iname,oname);
|
||||||
} catch (const Exception &e) {
|
} catch (const Exception &e) {
|
||||||
unlink_ofile(oname);
|
unlink_ofile(oname);
|
||||||
if (opt->verbose >= 2 || (opt->verbose >= 1 && !e.isWarning()))
|
if (opt->verbose >= 1 || (opt->verbose >= 0 && !e.isWarning()))
|
||||||
printErr(iname,&e);
|
printErr(iname,&e);
|
||||||
set_ec(e.isWarning() ? EXIT_WARN : EXIT_ERROR);
|
set_ec(e.isWarning() ? EXIT_WARN : EXIT_ERROR);
|
||||||
} catch (const Error &e) {
|
} catch (const Error &e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user