Bug 82865 - rpm --eval returns non-zero exit status
rpm --eval returns non-zero exit status
Product: Red Hat Linux Beta
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-01-27 17:02 EST by Nalin Dahyabhai
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-28 07:34:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nalin Dahyabhai 2003-01-27 17:02:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030121

Description of problem:
When I use rpm --eval to evaluate a macro, the shell exit status is 3.  I would
expect 0 when the macro is evaluated properly (i.e., evaluation completes
without having to break out of an infinite recursion).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpm --eval '%{_libdir}'
2. echo $?

Actual Results:  3

Expected Results:  0
Comment 1 Nalin Dahyabhai 2003-01-27 17:03:31 EST
Whoops, checked with rpm-4.2-0.61 and rpm-4.2-0.62.
Comment 2 Jeff Johnson 2003-01-28 07:34:08 EST
Duh, my brain fart. Fixed in rpm-4.2-0.63 when bu7ilt.

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