Closed ferben closed 1 year ago
Root cause: SCDynamicStoreCopyConsoleUser() does not return proper value in some cases, so fallback to POSIX method getuid() is correct.
Additional fix: If UID will be invalid (regardless of getuid() POSIX method fix) command "killall Dock" will be launched.
Root cause: SCDynamicStoreCopyConsoleUser() does not return proper value in some cases, so fallback to POSIX method getuid() is correct.
Additional fix: If UID will be invalid (regardless of getuid() POSIX method fix) command "killall Dock" will be launched.