Red Hat Bugzilla – Bug 51036
Syntax error in shell script causes useless log
Last modified: 2007-04-18 12:35:31 EDT
An extraneuos ampersand on an 'exec' line (55 or so) of the
/etc/hotplug/net.agent script causes bad error message.
Steps to Reproduce:
1. Insert a pcmcia network card into a redhat 7.1 laptop
Actual Results: Look at the system messages (/var/log/messages). The line:
"Date hostname /etc/hotplug/net.agent: register event not handled"
is issued. This is not true. An added ampersand on line 55 of the script
for the default exec case causes thread to return. Mesg is generated. The
script does its job, but the error is issued (erroneously).
Expected Results: No error.
Additional info: If you remove the '&' all is good.
*** This bug has been marked as a duplicate of 41830 ***