commit 8c09bbb4f22f1a3616eb7518fc17b726bd422372
parent fdc8d9bc59f0a945fe28932bdfbe73c4aa772362
Author: sin <sin@2f30.org>
Date: Tue, 27 Aug 2013 09:47:09 +0100
Add comment to remember to fix the semantics for $SMDEV
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/smdev.c b/smdev.c
@@ -291,6 +291,8 @@ createdev(struct event *ev)
if (putenv(buf) < 0)
eprintf("putenv:");
+ /* XXX: should chdir to dirname(devpath) and set SMDEV
+ * to point to the actual device name */
runrulecmd(rule);
return 0;