isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 2cbf8a68cf13b3ef33b413030dc593c90a90641d
parent 44ad8f036165a5086298de26f5a75fd6588a0da7
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Tue, 28 Dec 2021 18:53:55 +0100

abort if any invalid Channels/Groups have been specified

this is more in line with expectations, and avoids a silly "No channel
specified." error message.

Diffstat:
Msrc/main_sync.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main_sync.c b/src/main_sync.c @@ -283,6 +283,8 @@ sync_chans( core_vars_t *cvars, char **argv ) gotgrp: ; } } + if (cvars->ret) + return; if (!chans) { fputs( "No channel specified. Try '" EXE " -h'\n", stderr ); cvars->ret = 1;