Why does /etc/init.d/sendmail stop exit with 208
Richard Skelton <[email protected]> Wed, 7 Aug 2013 14:28:59 +0100
| Newsgroups | gmane.os.solaris.managers |
|---|---|
| Message-ID | <[email protected]> |
Hi Managers,
On Solaris 8 or 9 if I run /etc/init.d/sendmail stop and check the exit
code it's 208 not 0 as per the script
# tail /etc/init.d/sendmail
'stop')
/usr/bin/pkill -x -u 0 sendmail
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
exit 0
# /etc/init.d/sendmail stop
# echo $?
208
# /etc/init.d/sendmail start
# echo $?
0
# /etc/init.d/sendmail stop
# echo $?
208
#
--
Cheers
Richard Skelton
[email protected]
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 952 8808
Fax: +44(0)117 952 8777
Mobile: +44(0)743 6272 137