Modify ↓
Ticket #752 (closed defect: fixed)
bcfg2.init (at least for redhat) is broken because of a type on the case statement for start/stop
Reported by: | Travis Campbell <[email protected]…> | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description
Patch inline.
This manifests itself as
[[email protected] ~]# /etc/init.d/bcfg2 start Usage: /etc/init.d/bcfg2 {start|stop|restart|reload|force-reload|status}
I didn't check to see if the other os flavors had the same problem. I did check to see that this problem occurs in trunk.
--- bcfg2.dist 2009-10-01 17:32:54.000000000 -0500 +++ bcfg2 2009-10-01 17:31:38.000000000 -0500 @@ -68,7 +68,7 @@ return $RETVAL } -case $"1" in +case "$1" in start) start ;;
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Fixed in [dffae2e4c1b978996ffcb42657554a4fa4b721c7] (SVN r5471). Thanks for the patch.