commit ce1d3c7

ohmu  ·  2026-08-08 01:14:14 +0300 MSK
parent cc22e2e
new themes
2 files changed,  +7, -7
+1, -1
 1@@ -108,8 +108,8 @@ threadmain(int argc, char *argv[])
 2     if(mtpt == nil){
 3         snprintf(mtptbuf, sizeof(mtptbuf), "/tmp/acme.%d", PID);
 4         mtpt = mtptbuf;
 5-        mkdir(mtpt, 0700);
 6     }
 7+    mkdir(mtpt, 0700);
 8 	
 9 	initconfig(customconfigpath);
10 
+6, -6
 1@@ -1522,12 +1522,12 @@ runproc(void *argvp)
 2 			threadexits("fsysmount");
 3 		}
 4 		sprint(buf, "%d", c->md->id);
 5-		if((fs = nsmount("acme", buf)) == nil){
 6-			fprint(2, "child: can't mount acme: %r\n");
 7-			fsysdelid(c->md);
 8-			c->md = nil;
 9-			threadexits("nsmount");
10-		}
11+        if((fs = nsmount("acme", buf)) == nil){
12+            fprint(2, "child: can't mount acme: %r\n");
13+            fsysdelid(c->md);
14+            c->md = nil;
15+            threadexits("nsmount");
16+        }
17 		if(winid>0 && (pipechar=='|' || pipechar=='>')){
18 			sprint(buf, "%d/rdsel", winid);
19 			sfd[0] = fsopenfd(fs, buf, OREAD);