When giving out the range index for the remove command, just log an error, it's better not to exit the whole crmsh
crm(live/alp-1)corosync link# remove 12
ERROR: list index out of range
bye
another example, should give the same error log message:
crm(live/alp-1)corosync link# update 2 alp-1=20.20.20.61 alp-2=20.20.20.62
ERROR: corosync.link.update: Link 2 does not exist.
crm(live/alp-1)corosync link# update 11 alp-1=20.20.20.61 alp-2=20.20.20.62
ERROR: list index out of range
bye
crm corosync link remove
not worksanother example, should give the same error log message: