aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-run/openrc-run.c
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2022-04-15 11:53:24 -0400
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-30 21:32:32 -0500
commit3054046e18332ca1bf9b901f69b02f21bb91c098 (patch)
tree149982abcec8e93296c1930f244c44b7b2eb6cfe /src/openrc-run/openrc-run.c
parentf81bb7e2c4ee8d8c070e2bd212562cc4315edf3a (diff)
multiple spelling and typo fixes
This fixes #516.
Diffstat (limited to 'src/openrc-run/openrc-run.c')
-rw-r--r--src/openrc-run/openrc-run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c
index f9056110..06d1a9d3 100644
--- a/src/openrc-run/openrc-run.c
+++ b/src/openrc-run/openrc-run.c
@@ -363,7 +363,7 @@ svc_exec(const char *arg1, const char *arg2)
* We do this instead of mapping pipes to stdout, stderr so that
* programs can tell if they're attached to a tty or not.
* The only loss is that we can no longer tell the difference
- * between the childs stdout or stderr */
+ * between the child's stdout or stderr */
master_tty = slave_tty = -1;
if (prefix && isatty(fdout)) {
tcgetattr(fdout, &tt);
@@ -1045,7 +1045,7 @@ svc_stop(void)
static void
svc_restart(void)
{
- /* This is hairly and a better way needs to be found I think!
+ /* This is hairy and a better way needs to be found I think!
* The issue is this - openvpn need net and dns. net can restart
* dns via resolvconf, so you could have openvpn trying to restart
* dnsmasq which in turn is waiting on net which in turn is waiting