commit | 62ac9d5e03bbe0744eeb54075713a726e5ac81f0 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 14 09:00:05 2023 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 14 16:27:12 2023 +0000 |
tree | e808e17318d3a6789bb7ae584ba50ce290de752a | |
parent | 588267188c50be4bd3dd9f4b23e777705d91dd27 [diff] [blame] |
meta-google: networking: fix shellcheck warnings Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7ae5c315d5a938b29c6fd5d68f07225d125ccead
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh index 46bf136..1ba0ac3 100644 --- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh +++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh
@@ -42,7 +42,7 @@ # Ensure we only complete the addr lookup loop every 10s tosleep=$((before + 10 - SECONDS)) if (( tosleep > 0 )); then - sleep $tosleep + sleep "$tosleep" fi done @@ -99,7 +99,7 @@ w=$((active_ms/1000/1000 + (wait_min*60) - cur_s)) [ "$w" -lt 0 ] && break echo "Waiting ${w}s for DHCP process" >&2 - sleep $w + sleep "$w" done echo "Stopping DHCP processing" >&2