From 9446752aacf9f0b89c725c764e4f1494e5b71c2b Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 14 May 2018 21:32:39 +0000
Subject: [PATCH] Ignore sub-directories (e.g. *.pnt) of the outbound
 directory/ies in add_outbound_files(). The outbound/*.pnt sub-dirs are
 handled at a higher level.

---
 exec/binkit.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/exec/binkit.js b/exec/binkit.js
index 08773f36db..85880ee8e8 100644
--- a/exec/binkit.js
+++ b/exec/binkit.js
@@ -161,6 +161,8 @@ function add_outbound_files(addrs, bp)
 				var fnchars = '0123456789abcdefghijklmnopqrstuvwxyz';
 				var fname;
 
+				if(file_isdir(file))
+					return;
 				var ext = file_getext(file);
 				if (ext !== undefined)
 					ext = ext.toLowerCase();
-- 
GitLab