diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-06 10:27:16 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-06 10:27:16 +0200 |
commit | 2649239c620b57cc11c2499ed35fa571af996d18 (patch) | |
tree | 86b93375fe08d3fe55ea3471970cfc5f7ee39703 /contrib | |
parent | 1fc8bbff9cefd243725c04890426a28204d7b0d2 (diff) | |
download | tor-2649239c620b57cc11c2499ed35fa571af996d18.tar.gz tor-2649239c620b57cc11c2499ed35fa571af996d18.zip |
Use mktemp to fix SC2186; also, fix SC2006.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/dirauth-tools/nagios-check-tor-authority-cert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dirauth-tools/nagios-check-tor-authority-cert b/contrib/dirauth-tools/nagios-check-tor-authority-cert index 7a60da16f0..932a780618 100755 --- a/contrib/dirauth-tools/nagios-check-tor-authority-cert +++ b/contrib/dirauth-tools/nagios-check-tor-authority-cert @@ -49,7 +49,7 @@ DIRSERVERS="$DIRSERVERS 80.190.246.100:80" # gabelmoo DIRSERVERS="$DIRSERVERS 194.109.206.212:80" # dizum DIRSERVERS="$DIRSERVERS 213.73.91.31:80" # dannenberg -TMPFILE="`tempfile`" +TMPFILE=$(mktemp) trap 'rm -f "$TMPFILE"' 0 for dirserver in $DIRSERVERS; do |