aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e20c1e9..41531a2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -138,7 +138,7 @@ main(int argc, char **argv)
config();
int r = run();
- if (!watch) {
+ if (!watch || r != EXIT_SUCCESS) {
free(msg);
return r;
}