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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.