shithub: riscv

Download patch

ref: b143c1f41190c9f8a6750f45b450533648afe460
parent: c7eae3fb729cf1831dc3f711444f2edf782a3e7d
author: cinap_lenrek <[email protected]>
date: Tue Sep 8 14:30:38 EDT 2015

tar: remove unneccesary { }

--- a/sys/src/cmd/tar.c
+++ b/sys/src/cmd/tar.c
@@ -882,9 +882,9 @@
 	Compress *comp = nil;
 	Pushstate ps;
 
-	if (usefile && docreate) {
+	if (usefile && docreate)
 		ar = create(usefile, OWRITE, 0666);
-	} else if (usefile)
+	else if (usefile)
 		ar = open(usefile, ORDWR);
 	else
 		ar = Stdout;