Red Hat Bugzilla – Bug 123804
(PATCH)Missing "" in xinput script.
Last modified: 2007-11-30 17:10:42 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)
Description of problem:
Today I upgraded from FC 1 to FC 2 and upon starting X, I noticed an
error. The error was this:
/etc/X11/xinit/xinitrc: line 63: [: too many arguments
I tracked this down to line 63 of /etc/X11/xinit/xinitrc.d/xinput.
See Steps to Reproduce, Actual Results, and Expected Results for more
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open /etc/X11/xinit/xinitrc.d/xinput in your favorite editor (VIM)
2. Go to line 63.
3. Notice you see this line:
if [ -z $1 -o "$1" = "default" ]; then
Actual Results: I noticed the quotes were missing.
Expected Results: The quotes should be present like this:
if [ -z "$1" -o "$1" = "default" ]; then
Fixed in xinitrc-3.41-1 in erratum release.