bugGNU Screen - Bugs: bug #44000, Screen returns 1 upon successful...

 
 

bug #44000: Screen returns 1 upon successful -ls.

Submitted by:  None
Submitted on:  Wed 14 Jan 2015 02:22:32 AM UTC  
 
Category: User InterfaceSeverity: 3 - Normal
Priority: 5 - NormalStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: Cur Dev Sources
Fixed Release: NonePlanned Release: 4.1.0
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 19 Jan 2015 07:24:03 PM UTC, comment #1:

Hey, thanks for report.
This one was already reported and is fixed on screen-v4 branch:
http://git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v4&id=6c8c8604086124bcbce7df21c252bb2d03a50f08

Amadeusz Sławiński <amade>
Project Administrator
Wed 14 Jan 2015 02:22:32 AM UTC, original submission:

$ screen -ls irc
There is a screen on:
5132.irc (01/12/2015 04:03:49 PM) (Detached)
1 Socket in /var/run/screen/S-dtucker.

$ echo $?
1

This is not ideal for scripts that check for an existing screen session. The error appears to be on line 1182 of src/screen.c where a Panic call is made, but I'm not sure how to fix it. Somehow I don't think printf + exit calls will do it here.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32821:  44000.patch added by None (477B - text/x-patch - I think I figured it out.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Jan 2015 07:24:03 PM UTCamadeStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Wed 14 Jan 2015 02:32:57 AM UTCNoneAttached File-=>Added 44000.patch, #32821

    Back to the top


    Powered by Savane 3.1-cleanup1