Replace abort() by return EXIT_FAILURE