ifdh cp eats failure code from unerlying copy commands
This came in as INC000000396814, and then RITM0075160...
ifdh cp nosuchfile dest
returns a successful error code.
#1 Updated by Marc Mengel over 7 years ago
Debugged, found that we were exiting(res) where
res = system(copy_command); this is wrong, we should
be exiting with a value which is WEXITSTATUS,
otherwise the actualy exit status of the copy_command is discarded.
First stab at fix is in 1c0814f
still need a proper test.