1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-25 02:23:52 +01:00

Fix masking of exit code

This commit is contained in:
Garðar Þorsteinsson 2020-09-11 11:09:40 +00:00 committed by GitHub
parent 3ad7f64f55
commit ea93f8126f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -o pipefail
# Author: Jon Schipp
# 2015-03-09 [Pascal Hegy] - Add sudo for linux