Re: [Cooker] BUG: chkconfig true is false

2002-10-24 Thread Malte Starostik
Am Freitag, 25. Oktober 2002 04:29 schrieb Bill Shirley: > Thanks for your reply. It really clears things up. > > > In shell scripts, 0 is true, 1 (or any other non-zero) is false, > > allowing for error codes. > > How counter intuitive!! I have had beginning C programming, (so > I'm an expert no

RE: [Cooker] BUG: chkconfig true is false

2002-10-24 Thread Bill Shirley
Thanks for your reply. It really clears things up. > In shell scripts, 0 is true, 1 (or any other non-zero) is false, > allowing for error codes. > How counter intuitive!! I have had beginning C programming, (so I'm an expert now :-) and false is zero and true is anything not false. It's a crazy

[Cooker] BUG: chkconfig true is false

2002-10-24 Thread Bill Shirley
I am getting an email from cron every hour when /etc/cron.hourly/inn-cron-nntpsend runs. I found an bug in chkconfig: [root@elmo cron.hourly]# chkconfig --list innd innd0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@elmo cron.hourly]# chkconfig innd; echo $? 1 If I read

Re: [Cooker] BUG: chkconfig true is false

2002-10-24 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Shirley wrote: | I am getting an email from cron every hour when | /etc/cron.hourly/inn-cron-nntpsend runs. Is there anything in the mail? What happens if you run this script manually? What is the error code? Any outout going to stderr or stdout