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

Javier P.L. chilicuil at ubuntu.com
Sun Dec 16 20:39:07 UTC 2012


I can confirm this in upstream, debian and ubuntu versions, I've added a comment to a debian  related report which list other 	
inaccuracies in the man page, I'd suggest waiting for the changes coming from Debian (and from them to go to upstream), since it's not a critical problem.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

** Bug watch added: Debian Bug tracker #406278
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406278

** Also affects: newt (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406278
   Importance: Unknown
       Status: Unknown

-- 
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
Status in “newt” package in Debian:
  Unknown

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