If batchdir can't be made set errno correctly so the slurmctld is notified
correctly.
Remove repeated batch complete if batch directory isn't able to be made
since the slurmd will send the same message.
Make return code INFINITE instead of 1 to mean failed instead of canceled
Which in this case is what has happened since the launch failed.