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


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

Submitted by:  Davlet Panech <dpanech>
Submitted on:  Mon 29 Sep 2008 08:45:50 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 File(s):

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
  • -unavailable- added by dpanech (Submitted the item)
  • -unavailable- added by dpanech

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Sep 2008 08:45:50 PM UTCdpanechAttached File-=>Added exitstatus.patch, #16589
      Carbon-Copy-=>Added dpanech

    Back to the top

    Powered by Savane 3.1-cleanup1