diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-30 12:25:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-30 12:25:28 +0200 |
commit | 4603eb42e6a1be2e9582f0a32c83683ac044b968 (patch) | |
tree | c9fc4d06cf96ee40fb41106f414bce95e23a5558 /src | |
parent | 2b3d20d7ab87d6561569bf0c4bcb3acbf8dce2af (diff) |
imlib.c: Give slightly more helpful error messages if exec fails
Diffstat (limited to 'src')
-rw-r--r-- | src/imlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imlib.c b/src/imlib.c index 69c6e50..7b063c0 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -449,7 +449,7 @@ char *feh_http_load_image(char *url) quiet = estrdup("-q"); execlp("wget", "wget", "--cache=off", "-O", tmpname, url, quiet, NULL); - eprintf("url: exec failed: wget:"); + eprintf("url: Is 'wget' installed? Failed to exec wget:"); } else { waitpid(pid, &status, 0); @@ -964,7 +964,7 @@ void feh_edit_inplace_lossless_rotate(winwidget w, int orientation) execlp("jpegtran", "jpegtran", "-copy", "all", "-rotate", rotate_str, "-outfile", file_str, file_str, NULL); - eprintf("lossless rotate: exec failed: jpegtran:"); + eprintf("lossless rotate: Is 'jpegtran' installed? Failed to exec:"); } else { waitpid(pid, &status, 0); |