shithub: clone

Download patch

ref: f6f10ca542f39c7294b6211cbac7c66835476bac
parent: 2f1d05541cf72a3cbedbbe0e8dc118ef62b3c2c7
author: kvik <[email protected]>
date: Mon Dec 24 03:55:34 EST 2018

nicer exit on usage error. (thanks BurnZeZ)

--- a/clone.c
+++ b/clone.c
@@ -69,7 +69,7 @@
 usage(void)
 {
 	fprint(2, "usage: %s [-gux] [-b blocksize] [-p fileprocs:blockprocs] from ... to\n", argv0);
-	sysfatal("usage");
+	exits("usage");
 }
 
 void