summaryrefslogtreecommitdiff
path: root/src/wallpaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallpaper.c')
-rw-r--r--src/wallpaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index 2a4743f..c9a3a05 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -436,7 +436,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
if ((fp = fopen(path, "w")) == NULL) {
weprintf("Can't write to %s", path);
} else {
- fputs("#!/bin/sh\nexec ", fp);
+ fputs("#!/bin/sh\n", fp);
if (use_filelist) {
for (int i = 0; i < cmdargc; i++) {
fputs(shell_escape(cmdargv[i]), fp);