I am running a monitoring script which should be restarted on termination. So I am running it from /etc/inittab.
Everything works fine. But while redirecting the stderr & stdout to /dev/null I could see error logs in console. Error logs are not getting redirected to /dev/null.
Below thing is the command added to inittab.
::respawn:sh monitor.sh &>/dev/null &