Skip to content

Commit 982dc1a

Browse files
committed
moar debug
1 parent 05e494e commit 982dc1a

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/CICD.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ jobs:
706706
if: matrix.job.skip-tests != true
707707
shell: bash
708708
run: |
709+
ls -l /var/run/utmp* || true
709710
## Test
710711
${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} test --target=${{ matrix.job.target }} \
711712
${{ steps.vars.outputs.CARGO_TEST_OPTIONS}} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }}

src/uu/who/src/platform/unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl Who {
223223
};
224224

225225
for ut in records {
226-
println!("Who::records");
226+
println!("Who::records {ut:?}");
227227

228228
if !self.my_line_only || cur_tty == ut.tty_device() {
229229
println!("Who::!my || tty");

src/uucore/src/lib/features/utmpx.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ mod ut {
175175
}
176176

177177
/// A login record
178+
#[derive(Debug)]
178179
pub struct Utmpx {
179180
inner: utmpx,
180181
}

0 commit comments

Comments
 (0)