Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved network error handling. (Greg A. Woods)
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
168f83e
..
039b05d
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-881,8
+881,10
@@
int main(int argc,char *argv[])
ret = start_client(argc, argv);
if (ret == -1)
ret = start_client(argc, argv);
if (ret == -1)
- exit_cleanup(RERR_STARTCLIENT);
+
exit_cleanup(RERR_STARTCLIENT);
else
else
- exit_cleanup(ret);
- return ret;
+ exit_cleanup(ret);
+
+ exit(ret);
+ /* NOTREACHED */
}
}