Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
procps
procps-ng-4.0.4-idletime-no-tty.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-ng-4.0.4-idletime-no-tty.patch of Package procps
Index: procps-ng-4.0.4/src/w.c =================================================================== --- procps-ng-4.0.4.orig/src/w.c +++ procps-ng-4.0.4/src/w.c @@ -613,8 +613,10 @@ static void showinfo( if (u && *u->ut_line == ':') /* idle unknown for xdm logins */ printf(" ?xdm? "); - else + else if (tty[5]) print_time_ival7(idletime(tty), 0, stdout); + else + printf(" "); /* jpcpu/pcpu */ if (longform) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor