Modify

Ticket #752 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

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

comment:1 Changed 14 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [dffae2e4c1b978996ffcb42657554a4fa4b721c7] (SVN r5471). Thanks for the patch.

comment:2 Changed 14 years ago by solj

  • Milestone set to Bcfg2 1.0.0 Release

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.