Bug 1259788 - /etc/profile.d/less.sh:[:2: too many arguments
Summary: /etc/profile.d/less.sh:[:2: too many arguments
Keywords:
Status: CLOSED DUPLICATE of bug 1259030
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Viktor Jancik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-03 14:21 UTC by Randy Barlow
Modified: 2016-02-01 02:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-03 16:32:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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