[#784] CI gate alignment: prune legacy/agent dirs from shellcheck; fix SC2015/SC2002
ci / audit (push) Successful in 49s
ci / audit (push) Successful in 49s
Debian shellcheck (CI job container) vs koalaman:stable skew resolved by fixing real findings + exempting ported legacy suites and non-shell agent scripts, mirroring the archive/ treatment. https://projects.knownelement.com/issues/784
This commit is contained in:
@@ -57,7 +57,7 @@ fi
|
||||
# Show current bond state
|
||||
echo ""
|
||||
echo "--- Current bond0 state ---"
|
||||
cat /proc/net/bonding/bond0 2>/dev/null | head -15 || echo "(bond0 not up or not present)"
|
||||
head -15 /proc/net/bonding/bond0 2>/dev/null || echo "(bond0 not up or not present)"
|
||||
|
||||
# Back up
|
||||
cp -a /etc/network/interfaces "$BACKUP_DIR/interfaces"
|
||||
@@ -131,7 +131,7 @@ sleep 5
|
||||
|
||||
echo ""
|
||||
echo "--- Post-change bond0 state ---"
|
||||
cat /proc/net/bonding/bond0 2>/dev/null | head -20
|
||||
head -20 /proc/net/bonding/bond0 2>/dev/null
|
||||
|
||||
echo ""
|
||||
echo "==================================================================="
|
||||
|
||||
Reference in New Issue
Block a user