X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=util.c;h=4cc748f0ae0fe293b9da91f20d568156c817d22c;hp=990ad28c0cc28c728e219347dc5a227d170ad3ce;hb=e48de30516d5a0400b27a0d6bfeb1b9181e8ebf5;hpb=1f0060caa36d969deab2643b829529ea943c4714 diff --git a/util.c b/util.c index 990ad28..4cc748f 100644 --- a/util.c +++ b/util.c @@ -56,7 +56,7 @@ spawn(Arg *arg) close(ConnectionNumber(dpy)); setsid(); execl(shell, shell, "-c", arg->cmd, NULL); - fprintf(stderr, "dwm: execl '%s'", arg->cmd); + fprintf(stderr, "dwm: execl '%s -c %s'", shell, arg->cmd); perror(" failed"); } exit(0);