aboutsummaryrefslogtreecommitdiffstats
path: root/pc/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'pc/popen.c')
-rw-r--r--pc/popen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pc/popen.c b/pc/popen.c
index d8b18558..97ff2645 100644
--- a/pc/popen.c
+++ b/pc/popen.c
@@ -90,8 +90,8 @@ scriptify(const char *command)
i = strlen(command);
if ((fwrite(command, 1, i, fp) < i) || (fputc('\n', fp) == EOF)) {
free(cmd);
- cmd = NULL;
- {
+ cmd = NULL;
+ }
} else {
free(cmd);
cmd = NULL;