Meaningless error message when option -e is used without argument

Bug #597623 reported by Jean-Baptiste Lallement
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
chkrootkit (Debian)
Fix Released
Unknown
chkrootkit (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: chkrootkit

When -e is used without argument the error message doesn't tell much about the error:
$ chkrootkit -e
shift: 2659: can't shift that many

It should display the help of chkrootkit.

Additionally, the documentation of the -e option could be improved by explicitly showing that arguments are required:
-e files/dirs
    Exclude known false positive files/dirs, quoted, space separated.
instead of
-e Exclude known false positive files/dirs, quoted, space separated.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: chkrootkit 0.49-4
ProcVersionSignature: Ubuntu 2.6.35-4.5-generic 2.6.35-rc3
Uname: Linux 2.6.35-4-generic i686
Architecture: i386
Date: Wed Jun 23 11:42:25 2010
EcryptfsInUse: Yes
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: chkrootkit

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in chkrootkit (Debian):
status: Unknown → New
Revision history for this message
Chuck Short (zulcss) wrote :

I was able to reproduce this.

Changed in chkrootkit (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in chkrootkit (Debian):
status: New → Fix Committed
Changed in chkrootkit (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.