diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-11-07 07:52:52 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-11-07 07:52:52 +0100 |
commit | f6642257096c6fe0f78984d989790a3d9e1056fe (patch) | |
tree | ece4b301e194f43943b7d561796f1637f3a83a01 /src | |
parent | 08b37e4a577af0225f5e173a68775d3e7121803a (diff) |
Fix ~/.fehbg no longer being source-able (closes #342)2.22.1
Diffstat (limited to 'src')
-rw-r--r-- | src/imlib.c | 2 | ||||
-rw-r--r-- | src/wallpaper.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imlib.c b/src/imlib.c index 82a9865..abdef4e 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -467,7 +467,7 @@ static char *feh_http_load_image(char *url) char *feh_http_load_image(char *url) { weprintf( - "Cannot load image %s\n Please recompile with libcurl support", + "Cannot load image %s\nPlease recompile feh with libcurl support", url ); return NULL; 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); |