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 Interface Severity:  3 - Normal
Priority:  5 - Normal Status:  Duplicate
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  Cur Dev Sources
Fixed Release:  None Planned 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 Files:
   
   
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
  • -email is unavailable- added by amade (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-19 amade StatusNone => Duplicate
        Open/ClosedOpen => Closed
    2015-01-14 None Attached File- => Added 44000.patch, #32821

    Back to the top


    Powered by Savane 3.6