commit 3395589b9ec41fb7af7a990241b07398605d8498
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2023-09-17T14:42:07Z |
| subject | Wrong redirect order |
commit 3395589b9ec41fb7af7a990241b07398605d8498
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2023-09-17T14:42:07Z
Wrong redirect order
---
bash/sources/16_keystore | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bash/sources/16_keystore b/bash/sources/16_keystore
index 60a4dad..c5d62ff 100644
--- a/bash/sources/16_keystore
+++ b/bash/sources/16_keystore
@@ -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