shithub: treason

Download patch

ref: 2c3947b925768c048409dd3d64794c4304118469
parent: 8c43e26f2c2733b18f5b3e6451d05f7fc4c3708d
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Sep 16 18:04:53 EDT 2020

remove nomnt flag

--- a/stream_audio.c
+++ b/stream_audio.c
@@ -38,7 +38,7 @@
 	free(d);
 
 	pipe(p);
-	if((pid = rfork(RFFDG|RFPROC|RFNOMNT)) == 0){
+	if((pid = rfork(RFFDG|RFPROC)) == 0){
 		dup(fd, 0); close(fd);
 		close(p[0]);
 		dup(p[1], 1); close(p[1]);
--- a/stream_mc.c
+++ b/stream_mc.c
@@ -14,7 +14,7 @@
 	int p[2], pid, fd;
 
 	pipe(p);
-	if((pid = rfork(RFFDG|RFPROC|RFNOMNT)) == 0){
+	if((pid = rfork(RFFDG|RFPROC)) == 0){
 		close(0);
 		close(p[0]);
 		dup(p[1], 1); close(p[1]);