Created
December 31, 2024 19:38
-
-
Save smooker/9d5c19c1dcc90978ec9e1f1eb431f98b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/net/slirp.c b/net/slirp.c | |
index 85ae430..0f7c1aa 100644 | |
--- a/net/slirp.c | |
+++ b/net/slirp.c | |
@@ -1004,8 +1004,8 @@ static int slirp_smb(SlirpState* s, const char *exported_dir, | |
); | |
fclose(f); | |
- smb_cmdline = g_strdup_printf("%s -l %s -s %s", | |
- CONFIG_SMBD_COMMAND, s->smb_dir, smb_conf); | |
+ smb_cmdline = g_strdup_printf("%s -l %s -s %s %s", | |
+ CONFIG_SMBD_COMMAND, s->smb_dir, smb_conf, "--no-process-group"); | |
g_free(smb_conf); | |
if (slirp_add_exec(s->slirp, smb_cmdline, &vserver_addr, 139) < 0 || |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment