diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index c20f73b90..fc18d43dc 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -747,7 +747,7 @@ jobs: FAKE_UTMP_2='[2] [00000] [~~ ] [reboot] [~ ] [6.0.0-test] [0.0.0.0] [2022-02-22T22:11:22,222222+00:00]' FAKE_UTMP_7='[7] [999999] [tty2] [runner] [tty2] [ ] [0.0.0.0] [2022-02-22T22:22:22,222222+00:00]' FAKE_UTMP_LIVE='[7] [1] [tty3] [runner] [tty3] [ ] [0.0.0.0] [2022-02-22T22:22:22,222222+00:00]' - (echo "$FAKE_UTMP_2" ; echo "$FAKE_UTMP_7 ; echo "$FAKE_UTMP_LIVE") | sudo utmpdump -r -o /var/run/utmp + (echo "$FAKE_UTMP_2" ; echo "$FAKE_UTMP_7" ; echo "$FAKE_UTMP_LIVE") | sudo utmpdump -r -o /var/run/utmp # ... and add a full name to each account with a gecos field but no full name. sudo sed -i 's/:,/:runner name,/' /etc/passwd # We also create a couple optional files pinky looks for diff --git a/src/uu/who/src/platform/unix.rs b/src/uu/who/src/platform/unix.rs index eea13e253..1bae21b4a 100644 --- a/src/uu/who/src/platform/unix.rs +++ b/src/uu/who/src/platform/unix.rs @@ -3,7 +3,7 @@ // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. -// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr pidstr exitstr hoststr +// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr pidstr exitstr hoststr ESRCH use crate::options; use crate::uu_app;