Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!hc!beta!hgm From: hgm@beta.UUCP Newsgroups: comp.os.minix Subject: cp bug Message-ID: <5126@beta.UUCP> Date: Wed, 6-May-87 16:33:33 EDT Article-I.D.: beta.5126 Posted: Wed May 6 16:33:33 1987 Date-Received: Fri, 8-May-87 04:06:34 EDT Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 14 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