Task #130835 - fixed.err
back to task #130835download
Error: SHELLCHECK_WARNING:
/usr/bin/e2scrub:185:35: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 183| # Remove and wait for removal to succeed.
# 184| ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}"
# 185|-> while [ -e "${snap_dev}" ] && [ "$?" -eq "5" ]; do
# 186| sleep 0.5
# 187| ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}"
Error: SHELLCHECK_WARNING:
/usr/bin/e2scrub:213:35: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 211| lvremove_deadline="$(( $(date "+%s") + 30))"
# 212| ${DBG} lvremove -f "${LVM2_VG_NAME}/${snap}" 2>/dev/null
# 213|-> while [ -e "${snap_dev}" ] && [ "$?" -eq "5" ] &&
# 214| [ "$(date "+%s")" -lt "${lvremove_deadline}" ]; do
# 215| sleep 0.5