diff options
author | Olof-Joachim Frahm <olof@shiftleft.io> | 2020-05-29 11:41:58 +0200 |
---|---|---|
committer | Olof-Joachim Frahm <olof@shiftleft.io> | 2020-05-29 11:41:58 +0200 |
commit | a23571495beb95e146755e16b1a02dff03624625 (patch) | |
tree | e373c1e1e68539407a076003f8b92254941cce17 /src/slideshow.c | |
parent | c9e024daeb43094696a05c8d03ef6682ed683dae (diff) |
Fix some warnings from `gcc`.
Diffstat (limited to 'src/slideshow.c')
-rw-r--r-- | src/slideshow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slideshow.c b/src/slideshow.c index 00425d1..591848c 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -364,7 +364,8 @@ void feh_action_run(feh_file * file, char *action, winwidget winwid) if (opt.verbose && !opt.list && !opt.customlist) fprintf(stderr, "Running action -->%s<--\n", sys); - system(sys); + if (system(sys) == -1) + perror("running action via system() failed"); } return; } |