Bug 480799 - typo in /etc/init.d/halt
Summary: typo in /etc/init.d/halt
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 480882 494861 495081 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-20 16:58 UTC by Tom London
Modified: 2014-03-17 03:17 UTC (History)
5 users (show)

Fixed In Version: 8.86.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 17:51:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.