bugGKSu - Bugs: bug #24408, gksu: wrong exit status when...


bug #24408: gksu: wrong exit status when command is canceled

Submitter:  Davlet Panech <dpanech>
Submitted:  Mon 29 Sep 2008 08:45:50 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Mon 29 Sep 2008 08:45:50 PM UTC, original submission:  

Currently gksu[do] do "exit(0)" when the user clicks "cancel" in the password dialog. I velieve they should return non-zero in this case, otherwise it's impossible for the caller to tell whether the command succeeded or not.

See atached patch.

Davlet Panech <dpanech>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #16589:  exitstatus.patch added by dpanech (227B - text/x-patch - Return "1" to shell when dialog is canceled)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dpanech (Submitted the item)
  • -email is unavailable- added by dpanech

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-09-29 dpanech Attached File- Added exitstatus.patch, #16589
        Carbon-Copy- Added dpanech

    Back to the top

    Powered by Savane 3.12