delete downloaded ioping binary if script has been run straight from a pipe
This commit is contained in:
parent
4880659ff5
commit
08fc49eac3
4
nench.sh
4
nench.sh
@ -155,3 +155,7 @@ fi
|
||||
printf '%s\n' '-------------------------'
|
||||
|
||||
printf '\n'
|
||||
|
||||
# delete downloaded ioping binary if script has been run straight from a pipe
|
||||
# (rather than a downloaded file)
|
||||
[[ -t 0 ]] || rm -f ioping.static
|
||||
|
Loading…
x
Reference in New Issue
Block a user