Bug 480799

Summary: typo in /etc/init.d/halt
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mefoster, michal, notting, plroskin, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.86.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 17:51:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom London 2009-01-20 16:58:13 UTC
Description of problem:
reboot and/or halt fails with error on line 178....  missing ']'

--- halt.old	2009-01-20 08:52:41.000000000 -0800
+++ halt	2009-01-20 08:52:53.000000000 -0800
@@ -175,6 +175,6 @@
 [ -n "$kexec_command" ] && $kexec_command -e -x >& /dev/null
 
 HALTARGS="-d"
-[ "$INIT_HALT" != "HALT"] && HALTARGS="$HALTARGS -p"
+[ "$INIT_HALT" != "HALT" ] && HALTARGS="$HALTARGS -p"
 
 exec $command $HALTARGS


Version-Release number of selected component (if applicable):
initscripts-8.87-1.x86_64

How reproducible:
yup.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bill Nottingham 2009-01-20 17:51:11 UTC
Fixed in git.

Comment 2 Bill Nottingham 2009-01-21 03:27:21 UTC
*** Bug 480882 has been marked as a duplicate of this bug. ***

Comment 3 Mary Ellen Foster 2009-04-09 09:20:49 UTC
*** Bug 494861 has been marked as a duplicate of this bug. ***

Comment 4 Bill Nottingham 2009-04-09 17:08:30 UTC
*** Bug 495081 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2009-04-22 20:22:26 UTC
initscripts-8.86.3-1 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.