From bbdf74044d8841dbe9ed7259444f2e263631f56a Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Wed, 5 Aug 2026 12:10:15 +0200 Subject: [PATCH] treewide: Fix typos discovered by codespell --- configure.ac | 2 +- doc/modules/man/pages/cockpit-ws.8.adoc | 2 +- doc/protocol.md | 2 +- examples/long-running-process/README.md | 2 +- tools/debian/cockpit-ws.postinst | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 0d121458f0..4cd6074ce6 100644 --- a/configure.ac +++ b/configure.ac @@ -178,7 +178,7 @@ AC_ARG_WITH([default-session-path], # "/bin" is symlinked to "/usr/bin". We use the # normal Arch PATH which omits "sbin" and "/bin" for # those reasons. Otherwise "pkexec" will find - # cockpit-bridge in "/usr/sbin" and our rule wont + # cockpit-bridge in "/usr/sbin" and our rule won't # match. default_session_path=/usr/local/sbin:/usr/local/bin:/usr/bin else diff --git a/doc/modules/man/pages/cockpit-ws.8.adoc b/doc/modules/man/pages/cockpit-ws.8.adoc index 045698fbd1..2da9f039ea 100644 --- a/doc/modules/man/pages/cockpit-ws.8.adoc +++ b/doc/modules/man/pages/cockpit-ws.8.adoc @@ -16,7 +16,7 @@ communication between the browser application and various configuration tools and services like man:cockpit-bridge[1]. Users or administrators should never need to start this program as it -automatically started by man:systemd[1] on bootup, through +automatically started by man:systemd[1] on boot up, through man:cockpit-tls[8]. == Transport security diff --git a/doc/protocol.md b/doc/protocol.md index b90d155d1b..24f11d3dbf 100644 --- a/doc/protocol.md +++ b/doc/protocol.md @@ -1365,7 +1365,7 @@ the bridge is always active and cannot be switched off. The bridge is made responsible for implementing the session idle timeout to make sure it happens even when JavaScript stops executing or is severely throttled, maybe due to being stopped by the Browser, -the user, or because it has crashed to such a degree that it wont +the user, or because it has crashed to such a degree that it won't handle the session timeout anymore. JavaScript still has to explicitly switch on the session idle timeout diff --git a/examples/long-running-process/README.md b/examples/long-running-process/README.md index ef16b34a94..0884f2181a 100644 --- a/examples/long-running-process/README.md +++ b/examples/long-running-process/README.md @@ -10,7 +10,7 @@ such as udisks, libvirt, or podman. But this is not the case for e.g. running Ansible playbooks or installer scripts. These should be wrapped into a transient service unit, so that systemd takes over the role of the job manager. -This example demonstrates how to do that. It runs an arbitary shell command in +This example demonstrates how to do that. It runs an arbitrary shell command in a transient cockpit-longrunning.service, shows the live log output, and reattaches to it on page load. I.e. you can start the process, log out, log back in, and the service is recognized as "already running" with the complete diff --git a/tools/debian/cockpit-ws.postinst b/tools/debian/cockpit-ws.postinst index 4f385f7ea9..5564eef8d9 100644 --- a/tools/debian/cockpit-ws.postinst +++ b/tools/debian/cockpit-ws.postinst @@ -29,7 +29,7 @@ if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 244; then chmod 644 /etc/cockpit/disallowed-users fi -# adjust motd/issue links to chaned target if they still exist +# adjust motd/issue links to the changed target if they still exist if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl 331; then if [ "$(readlink /etc/motd.d/cockpit 2>/dev/null)" = "../../run/cockpit/motd" ]; then ln -sfn ../../run/cockpit/issue /etc/motd.d/cockpit