shell script terminates as zombie, ie, <defunct>
A shell script of mine which runs on a regular basis appears not to exit properly; if I run ps -e, I see more than a dozen instances of it marked as <defunct>. I don't suppose it matters as they don't appear to be using CPU or memory, but still I suspect it must be something fairly simple to fix.
Adding "exit" at the bottom of the script has no effect. What else could it be?
Last edited by Kropotkin; 12-25-2006 at 10:48 AM.