mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Bash script syntax improvements
This commit is contained in:
@@ -21,7 +21,7 @@ set -o xtrace
|
||||
|
||||
retry() {
|
||||
for i in {1..5}; do
|
||||
"$@" && return 0 || sleep $i
|
||||
"$@" && return 0 || sleep "${i}"
|
||||
done
|
||||
"$@"
|
||||
}
|
||||
|
Reference in New Issue
Block a user