rail: Fixes incorrect setting of TS_RAIL_EXEC_FLAG_FILE
authorMartin Fleisz <martin.fleisz@thincast.com>
Mon, 8 Jul 2019 09:47:51 +0000 (11:47 +0200)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 9 Jul 2019 06:21:45 +0000 (08:21 +0200)
commitb80a26f82c3a1eb4925554f9f8670b7751e5d528
treebf224e457b1d5cc46bc25c27fa89d05775d29165
parent8b22ea7486d6b8c5cf06cf77cc883b186bd59f6c
rail: Fixes incorrect setting of TS_RAIL_EXEC_FLAG_FILE

The TS_RAIL_EXEC_FLAG should only be set if ExeOrFile refers to a file
path. If we don't supply a published app name (using ||) but the name of
an application (i.e. notepad.exe) this flag was incorrectly set causing
an remote app execution error (error 5 - file not found).
channels/rail/client/rail_main.c