Error messages shouldn't show up in build logs when the error has been encountered. This patch silences these shell commands from being printed before they're interpreted.
Signed-off-by: Tyler Hicks <[email protected]> --- libraries/libapparmor/testsuite/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libapparmor/testsuite/Makefile.am b/libraries/libapparmor/testsuite/Makefile.am index 2cde5cc..55dcb68 100644 --- a/libraries/libapparmor/testsuite/Makefile.am +++ b/libraries/libapparmor/testsuite/Makefile.am @@ -18,7 +18,7 @@ clean-local: rm -f libaalogparse.log libaalogparse.sum check-local: check-DEJAGNU - if ! test -f libaalogparse.log ; then echo '*** libaalogparse.log not found - is dejagnu installed? ***'; exit 1; fi - if grep ERROR libaalogparse.log ; then exit 1 ; fi + @if ! test -f libaalogparse.log ; then echo '*** libaalogparse.log not found - is dejagnu installed? ***'; exit 1; fi + @if grep ERROR libaalogparse.log ; then exit 1 ; fi EXTRA_DIST = test_multi/*.in test_multi/*.out test_multi/*.err -- 2.7.4 -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
