docs: Fix a few typos

There are small typos in:
- doc/conditions.md
- src/mount.c
- src/svc.h

Fixes:
- Should read `satisfied` rather than `satsifed`.
- Should read `process` rather than `prorcess`.
- Should read `measure` rather than `meausre`.
This commit is contained in:
Tim Gates committed 2021-08-27 06:23:04 +10:00
1 parent 522a06f864
commit 841b06df37
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ PID IDENT STATUS CONDITION (+ ON, ~ FLUX, - OFF)
Here we can see that `netd` is allowed to run since both its conditions Here we can see that `netd` is allowed to run since both its conditions
are in the `on` state, as indicated by the `+`-prefix. `udhcpc` however are in the `on` state, as indicated by the `+`-prefix. `udhcpc` however
is not allowed to run since `net/vlan1/exist` condition is not satsifed. is not allowed to run since `net/vlan1/exist` condition is not satisfied.
As indicated by the `-`-prefix. As indicated by the `-`-prefix.
To fake interface `vlan1` suddenly appearing, and test what happens to To fake interface `vlan1` suddenly appearing, and test what happens to
+1 -1
View File
@@ -28,7 +28,7 @@
/* /*
* SysV init on Debian/Ubuntu skips these protected mount points * SysV init on Debian/Ubuntu skips these protected mount points
* *
* It also skips anything below /proc, /sys and /run for good meausre so * It also skips anything below /proc, /sys and /run for good measure so
* we do the same here. What we want is a list of non-protected tmpfs * we do the same here. What we want is a list of non-protected tmpfs
* and regular filesystems that can be safely unmounted before we do * and regular filesystems that can be safely unmounted before we do
* swapoff, and remount / as read-only, respectively. * swapoff, and remount / as read-only, respectively.
+1 -1
View File
@@ -102,7 +102,7 @@ typedef struct svc {
struct cgroup cgroup; struct cgroup cgroup;
/* Service details */ /* Service details */
int sighalt; /* Signal to stop prorcess, default: SIGTERM */ int sighalt; /* Signal to stop process, default: SIGTERM */
int killdelay; /* Delay in msec before sending SIGKILL */ int killdelay; /* Delay in msec before sending SIGKILL */
pid_t oldpid, pid; pid_t oldpid, pid;
char pidfile[256]; char pidfile[256];