summaryrefslogtreecommitdiff
path: root/net/freenx/files/patch-freenx-nxnode
blob: 0123f834efa44897a20cf926d463bc74d20cb2b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- nxnode.orig	Mon Jan 22 19:22:50 2007
+++ nxnode
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/local/bin/bash
 
 # Free implementation of nxserver components
 #
@@ -252,6 +252,9 @@
 	#
 
 	NODE_APPLICATION=$(node_find_application "$type")
+
+	# For rdesktop/VNC, there is no application to start
+	[ -n "$NODE_APPLICATION" ] || return
 
 	#
 	# Check if we want to use a mediahelper