Use "return" at the end of main() to silence some compilers.
[rsync/rsync.git] / main.c
diff --git a/main.c b/main.c
index 79929d6..629eb35 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1056,6 +1056,5 @@ int main(int argc,char *argv[])
        else
                exit_cleanup(ret);
 
-       exit(ret);
-       /* NOTREACHED */
+       return ret;
 }