Bug 191231 - init.d/drbd uses exit
Bug#: 191231 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: ha-cluster@gentoo.org Reported By: hansmi@gentoo.org
Component: Ebuilds
URL: 
Summary: init.d/drbd uses exit
Keywords:  
Status Whiteboard: 
Opened: 2007-09-04 12:09 0000
Description:   Opened: 2007-09-04 12:09 0000
When starting drbd fails, the init.d system prints a warning about the use of
"exit" in the init.d script:
 * Starting DRBD ...
Can not open '/etc/drbd.conf': No such file or directory
 * DO NOT USE EXIT IN INIT.D SCRIPTS

Can you please change the init.d script to use return instead of exit?

------- Comment #1 From Christian Zoffoli 2007-09-07 07:10:06 0000 -------
ok I'll change it in the next days

------- Comment #2 From Christian Zoffoli 2007-10-05 20:56:27 0000 -------
Fixed in CVS.