[Bug 1010534] Re: whiptail manpage says exit code -1 not 255

Hans Joachim Desserud 1010534 at bugs.launchpad.net
Sat Jun 9 16:44:58 UTC 2012


** Tags added: manpage precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to newt in Ubuntu.
https://bugs.launchpad.net/bugs/1010534

Title:
  whiptail manpage says exit code -1 not 255

Status in “newt” package in Ubuntu:
  New

Bug description:
  Description:	Ubuntu 12.04 LTS
  Release:	12.04
  whiptail 0.52.11-2ubuntu10 

  whiptail(1) says the following:

  DIAGNOSTICS
         Exit status is 0 if whiptail is exited by pressing the Yes or  OK  but‐
         ton,  and 1 if the No or Cancel button is pressed. Otherwise, if errors
         occur inside whiptail or whiptail is exited by pressing  the  ESC  key,
         the exit status is -1.

  However it's not possible for a Unix process to return exit status -1.
  It returns 255, as confirmed by

  whiptail --yesno Wibble? 7 50; echo $?

  then hit ESC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/newt/+bug/1010534/+subscriptions




More information about the foundations-bugs mailing list