diff --git a/src/execd/execd.c b/src/execd/execd.c index 0b5eb9cd..04cd2688 100644 --- a/src/execd/execd.c +++ b/src/execd/execd.c @@ -51,7 +51,7 @@ static void run_job(char *path, char *file) } dbg("running job %s", cmd); - if ((rc = systemf(cmd))) { + if ((rc = systemf("%s", cmd))) { errx("failed %s: rc %d", cmd, rc); return; }