aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c9a9bb3..3c6c5c4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -535,7 +535,7 @@ static void command_sync(int argc, char **argv, char *rss_config_dir, char *html
&& cmdline_contains_str(cmdline, cmdline_size, "sync") == 0) {
fprintf(stderr, "Automedia is already running with sync\n");
free(running_automedia_pid);
- exit(0);
+ exit(1);
}
free(running_automedia_pid);
} else {