mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-20 22:59:01 +00:00
Address warnings reported by shellcheck for changes made in 7011944
Closes gh-4524
This commit is contained in:
+3
-4
@@ -81,12 +81,11 @@ isRunning() {
|
||||
}
|
||||
|
||||
await_file() {
|
||||
end=`date +%s`
|
||||
end=$(date +%s)
|
||||
let "end+=10"
|
||||
while [ ! -f $1 ]
|
||||
while [[ ! -f "$1" ]]
|
||||
do
|
||||
now=`date +%s`
|
||||
echo $now
|
||||
now=$(date +%s)
|
||||
if [[ $now -ge $end ]]; then
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user