Commit Diff
--- modules/weather.c +++ modules/weather.c @@ -33,7 +33,10 @@ get_weather(int fd) } (void)dup2(fd, STDOUT_FILENO); if (execv("/usr/local/bin/weatherbar", argv) < 0) + { perror("execv"); + _exit(1); + } } void
--- modules/weather.c +++ modules/weather.c @@ -33,7 +33,10 @@ get_weather(int fd) } (void)dup2(fd, STDOUT_FILENO); if (execv("/usr/local/bin/weatherbar", argv) < 0) + { perror("execv"); + _exit(1); + } } void