summaryrefslogtreecommitdiff
path: root/src/wallpaper.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-11-07 07:52:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-11-07 07:52:52 +0100
commitf6642257096c6fe0f78984d989790a3d9e1056fe (patch)
treeece4b301e194f43943b7d561796f1637f3a83a01 /src/wallpaper.c
parent08b37e4a577af0225f5e173a68775d3e7121803a (diff)
Fix ~/.fehbg no longer being source-able (closes #342)2.22.1
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);