9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] fix usage of exit in git/compat
@ 2021-11-22 18:42 binarycat
  2021-11-24  9:37 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: binarycat @ 2021-11-22 18:42 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

exit takes a single argument.

- binarycat

[-- Attachment #2: Type: text/plain, Size: 245 bytes --]

--- //.git/fs/object/56af50dd9eeacd922da1ff01620d282a685aa486/tree/sys/src/cmd/git/compat
+++ sys/src/cmd/git/compat
@@ -146,7 +146,7 @@
 
 fn die {
 	>[1=2] echo git $_cmdname: $*
-	exit $_cmdname: $*
+	exit $_cmdname:^' '^$"*
 }
 
 _cmdname=$1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-26  6:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 18:42 [9front] [PATCH] fix usage of exit in git/compat binarycat
2021-11-24  9:37 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).