Wrong redirect order
This commit is contained in:
parent
612ab0a434
commit
3395589b9e
@ -295,7 +295,7 @@ function kstore-dl-s3au {
|
||||
p="https://git.k8s.astropenguin.net/penguin/s3-arch-utils/raw/branch/master"
|
||||
_NAME=$1
|
||||
|
||||
which "$_NAME" 2>&1 > /dev/null
|
||||
which "$_NAME" > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
tmp=$( mktemp )
|
||||
__download "$p/$_NAME" > $tmp
|
||||
|
Loading…
Reference in New Issue
Block a user