shithub: notif

Download patch

ref: 345b8b783165ada4d53c50130fe2046e8627ea40
parent: 9ed54083f5897ada0c46dca3be63bb139074fc0f
author: sirjofri <sirjofri@sirjofri.de>
date: Wed Jan 26 14:17:46 EST 2022

fixes execute nil bug

--- a/notif.c
+++ b/notif.c
@@ -209,6 +209,9 @@
 	char* wd = nil;
 	Plumbmsg *pmsg;
 	
+	if (!n)
+		return;
+	
 	fd = plumbopen("send", OWRITE);
 	if (fd < 0)
 		sysfatal("unable to open send channel: %r");