diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-17 11:05:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-17 11:05:24 +0200 |
commit | 90b2dc8d77351204fcdc20bf472cd4ad68cbbd35 (patch) | |
tree | aa3b10ae19b2bfc2b892835cd1e248125158a08f /src | |
parent | 137a18719ce8006697bb104c9ea94115557b7966 (diff) |
Return 1 is automedia is already running
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |