We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd7581f + 3837dd2 commit 84e6249Copy full SHA for 84e6249
src/uucore/src/lib/features/systemd_logind.rs
@@ -444,8 +444,9 @@ pub fn read_login_records() -> UResult<Vec<SystemdLoginRecord>> {
444
.unwrap_or_default();
445
446
// Determine host (use remote_host if available)
447
+ // If host is local (non-remote) we use display,
448
let host = if remote_host.is_empty() {
- String::new()
449
+ display.clone()
450
} else {
451
remote_host
452
};
0 commit comments