[Bug 240017] sysutils/cpu-x cpu-x_polkit script errors when "XDG_SESSION_TYPE" variable not set
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 21 16:22:06 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240017
Bug ID: 240017
Summary: sysutils/cpu-x cpu-x_polkit script errors when
"XDG_SESSION_TYPE" variable not set
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: danfe at FreeBSD.org
Reporter: radicleparticles at gmail.com
Flags: maintainer-feedback?(danfe at FreeBSD.org)
Assignee: danfe at FreeBSD.org
Created attachment 206755
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206755&action=edit
diff file for change to script test of XDG_SESSION_TYPE variable
System: FreeBSD 12.0-RELEASE #1 r350972M
Port Version: 3.2.3
Desktop: Mate-1.20.0
XDG ports installed: xdg-utils-1.1.1
When attempting to execute cpu-x as non-root user, it invokes "cpu-x_polkit"
script. In my environment, the "XDG_SESSION_TYPE" variable is undefined. This
causes a script error.
Simple static character prefix to script test of that variable prevents the
script error. Proposed patch included in attachment (also includes closing
script statement "exit").
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list