From 3018cf8c1a3a74a44540d41bc9cd077012e916ee Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Fri, 26 Oct 2012 18:01:05 -0500 Subject: [PATCH] websockify.js: executable, fix usage statement. --- other/websockify.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 other/websockify.js diff --git a/other/websockify.js b/other/websockify.js old mode 100644 new mode 100755 index 447fd96..21a533d --- a/other/websockify.js +++ b/other/websockify.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + // A WebSocket to TCP socket proxy // Copyright 2012 Joel Martin // Licensed under LGPL version 3 (see docs/LICENSE.LGPL-3) @@ -148,7 +150,7 @@ try { throw("illegal port"); } } catch(e) { - console.error("wsproxy.py [--web web_dir] [source_addr:]source_port target_addr:target_port"); + console.error("websockify.js [--web web_dir] [source_addr:]source_port target_addr:target_port"); process.exit(2); }