mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
scripts: use /dev/null when verifying s3
This commit is contained in:
@@ -27,7 +27,7 @@ verify_gpg_key() {
|
||||
}
|
||||
|
||||
verify_s3_access() {
|
||||
if ! aws s3 ls s3://hc-releases/ >dev/null 2>/dev/null
|
||||
if ! aws s3 ls s3://hc-releases/ >/dev/null 2>/dev/null
|
||||
then
|
||||
echo "AWS credentials is not configured" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user