fix(check-fail): check if cp fails