diff --git a/mkdumprd b/mkdumprd index dc69e2f..af0006d 100644 --- a/mkdumprd +++ b/mkdumprd @@ -257,7 +257,7 @@ check_user_configured_target() verify_core_collector() { local _cmd="${1%% *}" - local _params="${1#* }" + local _params="${1#${_cmd}}" if [[ $_cmd != "makedumpfile" ]]; then if is_raw_dump_target; then