chiark / gitweb /
cgi-fcgi-interp: Actually get run in ~ right
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Mar 2016 23:02:39 +0000 (00:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Mar 2016 23:02:39 +0000 (00:02 +0100)
cprogs/cgi-fcgi-interp.c

index 6b0585b..0cafb10 100644 (file)
@@ -271,7 +271,7 @@ static bool find_run_base_home(void) {
     ut.nodename[32] = 0;
 
   run_base_mkdir_p = m_asprintf("%s/%s", pw->pw_dir, ".cgi-fcgi-interp");
-  try = m_asprintf("%/%s", run_base_mkdir_p, ut.nodename);
+  try = m_asprintf("%s/%s", run_base_mkdir_p, ut.nodename);
   run_base = try;
   return 1;
 }