procd: replace exit(-1) with exit(EXIT_FAILURE)