Created
September 4, 2018 21:18
-
-
Save avkosme/3149bcf2eef1204a05bc9345eb88c27b to your computer and use it in GitHub Desktop.
Configure the bash script to throw an error if any of the commands within it return a non-zero exit code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -o errexit | |
| apt-get update | |
| apt-get upgrade -y | |
| apt-get install -y git wget sudo | |
| git clone https://github.com/facebook/osquery.git | |
| cd /osquery | |
| git checkout 1.0.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment