shithub: mq

Download patch

ref: 5f36cf56b3b455b72c45906b13e12c858695c746
parent: 62b20ac8c055336c2b9506ca742a652be410d8f9
author: kvik <kvik@a-b.xyz>
date: Mon Oct 5 16:02:15 EDT 2020

pin: get rid of info messages

These are not useful now that specific flags are required for creating
and attaching -- the command itself documents exactly what is supposed
to happen and an error is printed if it didn't.

--- a/rc/pin
+++ b/rc/pin
@@ -2,8 +2,6 @@
 rfork e
 
 fn create {
-	echo creating $mq >[1=2]
-
 	mq = $1
 	mkdir -p $mq
 	echo replay all >$mq/ctl
@@ -32,8 +30,6 @@
 }
 
 fn attach {
-	echo attaching $mq >[1=2]
-
 	rfork e
 	mq = $1
 	fn sigint {