commit 25f1587ca5379abfbe15f7e9f12a38002106f570 from: ollytom date: Mon Oct 14 10:46:56 2019 UTC exit as soon as unrecognised beat is specified Conforms with standard command line behaviour e.g. cat(1) exits immediately if it cannot open a file commit - c062695d6e760e94875cbbebb913b9b25f7d6179 commit + 25f1587ca5379abfbe15f7e9f12a38002106f570 blob - f6071231fef5592d929cc766ff554d60cc1369d3 blob + 1366ce8abce44bc162fee93ec60c65eadad3d0d0 --- mkbeatinstaller +++ mkbeatinstaller @@ -18,7 +18,8 @@ do winlogbeat) ;; *) - echo "unsupported beat $b"; continue;; + echo "unsupported beat $b"; + exit 1;; esac test -f $b-$version-windows-x86_64.zip || curl -sO https://artifacts.elastic.co/downloads/beats/$b/$b-$version-windows-x86_64.zip