df command in script is returning with incorrect error code

Solution Unverified - Updated -

Issue

  • An issue exists in which the dfcommand in a ksh environment is returning high value return codes that are causing our application not to be allowed to be installed.

  • Tracing a ksh script that is using df displays the following:

   + df -kP /opt/IBM/ITM
   + 1> /dev/null 2>& 1
   + [ 38720 -eq 0 ]
  • The last line indicates that df is returning with an error code of 38720

Environment

  • Red Hat Enterprise Linux 4
  • coreutils-5.2.1-37.el4
  • ksh-20050202-0.4E.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content