summaryrefslogtreecommitdiff
path: root/batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'batch.c')
-rw-r--r--batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/batch.c b/batch.c
index a9711c56..b95033f0 100644
--- a/batch.c
+++ b/batch.c
@@ -194,7 +194,7 @@ static int write_opt(const char *opt, const char *arg)
{
int len = strlen(opt);
int err = write(batch_sh_fd, " ", 1) != 1;
- err = write(batch_sh_fd, opt, len) != len ? 1 : 0;
+ err = write(batch_sh_fd, opt, len) != len ? 1 : 0;
if (arg) {
err |= write(batch_sh_fd, "=", 1) != 1;
err |= write_arg(arg);