[comp.os.minix] cp bug

hgm@beta.UUCP (05/06/87)

When cp drops out of main the normal way, no call to exit is made.
The result is that a non zero exit status is returned.
For cp in makefiles this can cause problems. Just put
a call to exit(0) at the end of main.


Harry McGavran
hgm@LANL.GOV
Los Alamos National Laboratory
MS-B294, Group C-8
Los Alamos, New Mexico 87545
505/667-4050