Wait a minute, wait a minute, I didn't write this bit. I am a senior religious leader, I can get another senior religious leader to sign off on things and I can probably get written authority from the Deputy head of state if that's good enough, but I'm not particularly in favour of "kill -9" myself. My code is waaaay up above and is probably unnecessary as I didn't spot the reversal.
Be that as it may, as pre3 stands right now, I can break it so it WON'T die without a "kill -9" (I'll hopefully fix that sometime today assuming the users don't break something ELSE *makes threatening gestures*), but I'd rather do a clean kill or even a pkill. DS>>--- testing/eval_tools.sh.org Wed Apr 7 05:13:26 2004 DS>>+++ testing/eval_tools.sh Wed Jul 7 20:41:10 2004 DS>>@@ -476,9 +476,9 @@ DS>> if [ $? = 0 ] ; then DS>> SNMP_SAVE_TMPDIR=yes DS>> if [ "x$OSTYPE" = "xmsys" ]; then DS>>- COMMAND="kill -9 $pid" DS>>- else DS>> COMMAND="kill.exe $pid" DS>>+ else DS>>+ COMMAND="kill -9 $pid" DS>> fi DS>> echo $COMMAND "($pfile)" >> $SNMP_TMPDIR/invoked DS>> $COMMAND > /dev/null 2>&1 DS> DS> Argghhhh!!!!! DS> Is it *really*, *really* necessary to use "kill -9" here? > DS> This particular incantation is the spawn of satan, and should DS> not be used without written authority (in triplicate) from the DS> head of state and at least two senior religions leaders. AB>It looks like the kill -9 will only be used if the process can not be AB>stopped using a kill -TERM by the STOPAGENT and STOPTRAPD functions. AB>This means that the Solaris V880 system is not able to kill the agent or AB>trapd using kill -TERM. AB>BTW, the kill -9 is not new to eval_tools.sh. Only the MSYS checking is. This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
