From 1a59ab8b7408a4586c8f6b12234831bd1d0086ad Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 15 Jan 2017 19:13:26 -0700 Subject: [PATCH] only run vsyslog_test if it exists --- lib/util/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/util/Makefile.in b/lib/util/Makefile.in index 425946bb3..60f9cbfd7 100644 --- a/lib/util/Makefile.in +++ b/lib/util/Makefile.in @@ -278,7 +278,9 @@ check: $(TEST_PROGS) rm -f ./progname_test2; ln -s ./progname_test ./progname_test2; \ ./progname_test2 || rval=`expr $$rval + $$?`; \ rm -f ./progname_test2; \ - ./vsyslog_test || rval=`expr $$rval + $$?`; \ + if test -f vsyslog_test; then \ + ./vsyslog_test || rval=`expr $$rval + $$?`; \ + fi; \ build_dir=`pwd`; \ cd $(srcdir); \ for dir in sudo_conf sudo_parseln; do \ -- 2.40.0