Bug 1259788

Summary: /etc/profile.d/less.sh:[:2: too many arguments
Product: [Fedora] Fedora Reporter: Randy Barlow <rbarlow>
Component: lessAssignee: Viktor Jancik <vjancik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, jmlich83, vjancik, yaneti
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: 2015-09-03 16:32:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Barlow 2015-09-03 14:21:07 UTC
Description of problem:
Whenever I open a terminal, I see a message printed "/etc/profile.d/less.sh:[:2: too many arguments". I use zsh, but a similar message appears when I start bash.

Version-Release number of selected component (if applicable):
less-479-2.fc24.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. $ zsh
2. $ bash

Actual results:
[rbarlow@ohm]~% zsh
/etc/profile.d/less.sh:[:2: too many arguments
[rbarlow@ohm]~% bash
bash: [: |/usr/bin/lesspipe.sh: binary operator expected

Expected results:
No error messages upon starting shells.

Comment 1 Yanko Kaneti 2015-09-03 16:32:19 UTC

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