Skip to content

Commit 522d396

Browse files
authored
Fix unbound variable issue in get_self_cid
fix #542
1 parent b89be7e commit 522d396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function check_cert_min_validity {
6060
}
6161

6262
function get_self_cid {
63-
local self_cid
63+
local self_cid=""
6464

6565
# Try the /proc files methods first then resort to the Docker API.
6666
if [[ -f /proc/1/cpuset ]]; then

0 commit comments

Comments
 (0)