X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f89e890b87f1283a10069f2970820bbbe5ccfd5f..9fdb334e8518d80914aa33282d718d9ee6809b30:/util.c diff --git a/util.c b/util.c index be639e44..34df88e3 100644 --- a/util.c +++ b/util.c @@ -476,7 +476,7 @@ static int exclude_server_path(char *arg) if (server_exclude_list.head) { for (s = arg; (s = strchr(s, '/')) != NULL; ) { *s = '\0'; - if (check_exclude(&server_exclude_list, arg, 1)) { + if (check_exclude(&server_exclude_list, arg, 1) < 0) { /* We must leave arg truncated! */ return 1; }