From 75fc493e7d0f6d1d917faeb3f94abc770894ca25 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Sat, 16 May 2020 21:48:33 +0100 Subject: [PATCH] sh/suid_exec.c: fix 2 confusing typos in comments (cherry picked from commit 6cccaedd91e4309b542b8a17c8318f3bff9511b0) --- src/cmd/ksh93/sh/suid_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/ksh93/sh/suid_exec.c b/src/cmd/ksh93/sh/suid_exec.c index 3dd5a1d65..d2160483a 100644 --- a/src/cmd/ksh93/sh/suid_exec.c +++ b/src/cmd/ksh93/sh/suid_exec.c @@ -247,7 +247,7 @@ exec: } /* - * return true of shell ends in sh of ksh + * return true if shell ends in sh or ksh */ static int endsh(register const char *shell) @@ -265,7 +265,7 @@ static int endsh(register const char *shell) /* - * return true of shell is in directory + * return true if shell is in directory */ static int in_dir(register const char *dir,register const char *shell)