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


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

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


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:

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 $?

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.



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

Attach Files:

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)

    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 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.9