Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191231 - init.d/drbd uses exit
Summary: init.d/drbd uses exit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 191543
  Show dependency tree
 
Reported: 2007-09-04 12:09 UTC by Michael Hanselmann (hansmi) (RETIRED)
Modified: 2010-09-10 18:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-09-04 12:09:48 UTC
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 Christian Zoffoli (RETIRED) gentoo-dev 2007-09-07 07:10:06 UTC
ok I'll change it in the next days
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2007-10-05 20:56:27 UTC
Fixed in CVS.