Bug 495081 - [PATCH] Invalid syntax in /etc/init.d/halt: missing ']'
Summary: [PATCH] Invalid syntax in /etc/init.d/halt: missing ']'
Keywords:
Status: CLOSED DUPLICATE of bug 480799
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-09 17:03 UTC by Pavel Roskin
Modified: 2014-03-17 03:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-09 17:08:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch (253 bytes, patch)
2009-04-09 17:03 UTC, Pavel Roskin
no flags Details | Diff

Description Pavel Roskin 2009-04-09 17:03:15 UTC
Created attachment 338947 [details]
Patch

Description of problem:
There is a message briefly appearing on reboot:
S01reboot: line 178: [: missing `]'

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

How reproducible:
Always

Steps to Reproduce:
1. Run "reboot" locally
2. Look carefully at the screen
  
Actual results:
The message appears

Expected results:
The message doesn't appear

Additional info:
/etc/rc.6/S01reboot is a link to /etc/init.d/halt.  Bash doesn't allow ']' (as part of the '[' command ) to be glued to the previous token.

Comment 1 Bill Nottingham 2009-04-09 17:08:30 UTC
Please upgrade to 8.86.3.

*** This bug has been marked as a duplicate of bug 480799 ***


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