Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541344 - app-misc/screen: 'screen -ls' always exits with +1
Summary: app-misc/screen: 'screen -ls' always exits with +1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL: https://savannah.gnu.org/bugs/?func=d...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 14:54 UTC by Paolo Pedroni
Modified: 2015-08-26 05:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
screen-ls-exit-code.patch (screen-ls-exit-code.patch,492 bytes, patch)
2015-02-25 14:54 UTC, Paolo Pedroni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2015-02-25 14:54:29 UTC
Created attachment 397486 [details, diff]
screen-ls-exit-code.patch

All versions of app-misc/screen in portage tree (even 4.2.1) suffer from the bug in the URL above (from gnu-screen bug list).

If you run 'screen -ls' with open screens it returns with +1 instead of 0 (which should be the right return code).

The attached patch (from upstream bug) fixes it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-08-26 05:04:46 UTC
Fixed in >=4.3.0, then.