Sanitize the invalid input so that lockhammer will stop if it detects wrong parameter "lh_swap_mutex -c [0, 1, 2, 3]" succeeds in shell, which should be stopped because the -c parameter is invalid.