====== Checking before the patch ====== ====== Checking the tree with the patch ====== New warnings added --- /tmp/tmp.534h474ph4 2025-12-29 13:51:32.863853405 -0500 +++ /tmp/tmp.yD8TiShu5G 2025-12-29 13:51:32.956852421 -0500 @@ -83 +83 @@ -In peer.sh line 80: +In peer.sh line 81: @@ -89 +89 @@ -In peer.sh line 87: +In peer.sh line 88: @@ -95 +95 @@ -In peer.sh line 94: +In peer.sh line 95: @@ -101 +101,7 @@ -In peer.sh line 101: +In peer.sh line 102: +if [ $? -eq 0 ]; then + ^-- SC2320 (warning): This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten. + ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. + + +In peer.sh line 110: @@ -107 +113 @@ -In peer.sh line 110: +In peer.sh line 118: @@ -113 +119 @@ -In peer.sh line 119: +In peer.sh line 127: @@ -121 +127 @@ -In peer.sh line 127: +In peer.sh line 135: