Bug 495081

Summary: [PATCH] Invalid syntax in /etc/init.d/halt: missing ']'
Product: [Fedora] Fedora Reporter: Pavel Roskin <plroskin>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: notting, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-09 17:08:30 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:
Attachments:
Description Flags
Patch none

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 ***