shithub: zuke

Download patch

ref: d5f3b567203165fc6bf372ea52f78f828a267fc4
parent: 9c7e0ac79703b69d6182ebc1f628ca18eed438e1
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Jan 28 08:03:54 EST 2021

remove RFNOMNT, that is just wrong

--- a/zuke.c
+++ b/zuke.c
@@ -429,7 +429,7 @@
 		seek(fd, m->imageoffset, 0);
 	}
 	pipe(p);
-	if((pid = rfork(RFPROC|RFFDG|RFNOTEG|RFNOMNT|RFCENVG|RFNOWAIT)) == 0){
+	if((pid = rfork(RFPROC|RFFDG|RFNOTEG|RFCENVG|RFNOWAIT)) == 0){
 		dup(fd, 0); close(fd);
 		dup(p[1], 1); close(p[1]);
 		if(!debug){
@@ -548,7 +548,7 @@
 	}
 
 	pipe(p);
-	if((pid = rfork(RFPROC|RFFDG|RFNOTEG|RFNOMNT|RFCENVG|RFNOWAIT)) == 0){
+	if((pid = rfork(RFPROC|RFFDG|RFNOTEG|RFCENVG|RFNOWAIT)) == 0){
 		close(p[1]);
 		if(fd < 0)
 			fd = open("/dev/null", OREAD);