chiark / gitweb /
Correct command FD!
[disorder] / lib / uaudio-command.c
index 12a47dc9e37cdeb34227553a848cd7b9bdb70f9c..6b7ef66309b108653c53303894b70d10c773b62f 100644 (file)
@@ -80,7 +80,7 @@ static void command_open(void) {
     fatal(errno, "error executing /bin/sh");
   }
   close(pfd[0]);
-  command_pid = pfd[1];
+  command_fd = pfd[1];
 }
 
 /** @brief Send audio data to subprocess */