xdg-screensaver lock returns exit code 4 even though it worked
Function screensaver_freedesktop
, case: lock
does not set the result variable, when it should. I have not found this tracked already, so I'll collect the information here.
Via:
- https://unix.stackexchange.com/questions/729257/xdg-screensaver-lock-returns-exit-code-4-even-though-it-worked
- https://lists.freedesktop.org/archives/xdg/2022-December/014651.html - mailing list, Dec 2022
Link to code: https://gitlab.freedesktop.org/xdg/xdg-utils/-/blob/8ae02631a9806da11b34cd6b274af02d28aee5da/scripts/xdg-screensaver.in#L279
Edited by Vadim (vadcx)