Bug 3249 and bug 5077 changed the behaviour of $TLCOMMAND so that an empty command is no longer treated the same as a non-existent one. We might want to change back to the old behaviour of ignoring an empty command. Possibly with a warning...
Fixed in r29221. Zero-length or whitespace-only $TLCOMMAND will be ignored and a warning message will be printed from both tl-select-profile and tl-run-profile. I've decided to print warnings from both programs so we can be sure that there's something in the log if the user decides to quit from tl-select-profile. At the same time, tl-select-profile is optional so we need to have something in tl-run-profile as well.
Verified that information is logged and that logics isn't changed with and without TLCOMMAND both as empty or with command using ThinLinc build 4497.