mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 18:38:00 +02:00
feat: better handling
* setui/setgid/etc errors are recoverable now * fix small print_errno arguments bug * send TERM env var to session (if present)
This commit is contained in:
2
src/ui.c
2
src/ui.c
@@ -569,7 +569,7 @@ void print_errno(const char *descr) {
|
||||
origin.x, theme.colors.err, errno, strerror(errno));
|
||||
else {
|
||||
fprintf(stderr, "\x1b[%d;%dH\x1b[%sm%s(%d): %s", origin.y - 1, origin.x,
|
||||
descr, theme.colors.err, errno, strerror(errno));
|
||||
theme.colors.err, descr, errno, strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user