You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/30 18:22:28 UTC
[jira] [Commented] (VCL-768) Linux.pm's logoff_user displays a
warning if the user is not logged in
[ https://issues.apache.org/jira/browse/VCL-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047805#comment-14047805 ]
ASF subversion and git services commented on VCL-768:
-----------------------------------------------------
Commit 1606824 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1606824 ]
VCL-768
Updated Linux.pm::logoff_user to check for exit status 0 or 1 to prevent warnings from being generated if a user is not logged in.
> Linux.pm's logoff_user displays a warning if the user is not logged in
> ----------------------------------------------------------------------
>
> Key: VCL-768
> URL: https://issues.apache.org/jira/browse/VCL-768
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Affects Versions: 2.3.2
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Priority: Minor
> Fix For: 2.4
>
>
> Linux.pm::logoff_user uses pkill to log off a user by killing all of the user's processes. If the exit status is not 0, a warning is displayed. pkill will exit with status = 1 if no processes were found, meaning the user is not logged in. The check should be fixed to assume exit status 0 or 1 are successful.
--
This message was sent by Atlassian JIRA
(v6.2#6252)