aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-19 14:27:45 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-20 17:39:31 -0300
commitf5d8d8cc7af8f8816c47623515babcefceb7e22f (patch)
treeb0e319e9fb74de6a7c2f7aec17cd39bd20f4d994 /src
parentFix space before/after tab in indent (diff)
downloadfirejail-f5d8d8cc7af8f8816c47623515babcefceb7e22f.tar.gz
firejail-f5d8d8cc7af8f8816c47623515babcefceb7e22f.tar.zst
firejail-f5d8d8cc7af8f8816c47623515babcefceb7e22f.zip
docs: improve grammar in --join-or-start= comments
Diffstat (limited to 'src')
-rw-r--r--src/firejail/main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c
index fac357303..ed31efb6c 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -894,8 +894,8 @@ static void run_cmd_and_exit(int i, int argc, char **argv) {
894 894
895 } 895 }
896 else if (strncmp(argv[i], "--join-or-start=", 16) == 0) { 896 else if (strncmp(argv[i], "--join-or-start=", 16) == 0) {
897 // NOTE: this is first part of option handler, sandbox name is 897 // Note: This is the first part of the option handler; the
898 // set in other part 898 // sandbox name is set in the other part
899 if (checkcfg(CFG_JOIN) || getuid() == 0) { 899 if (checkcfg(CFG_JOIN) || getuid() == 0) {
900 logargs(argc, argv); 900 logargs(argc, argv);
901 901
@@ -2818,8 +2818,9 @@ int main(int argc, char **argv, char **envp) {
2818 } 2818 }
2819#endif 2819#endif
2820 else if (strncmp(argv[i], "--join-or-start=", 16) == 0) { 2820 else if (strncmp(argv[i], "--join-or-start=", 16) == 0) {
2821 // NOTE: this is second part of option handler, atempt 2821 // Note: This is the second part of the option handler;
2822 // to find and join sandbox is done in other one 2822 // the attempt to find and join the sandbox is done in
2823 // the other one
2823 2824
2824 // set sandbox name and start normally 2825 // set sandbox name and start normally
2825 cfg.name = argv[i] + 16; 2826 cfg.name = argv[i] + 16;