summaryrefslogtreecommitdiffstats
path: root/chrome_frame/cfproxy_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/cfproxy_proxy.cc')
-rw-r--r--chrome_frame/cfproxy_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/cfproxy_proxy.cc b/chrome_frame/cfproxy_proxy.cc
index bd38337..680588e 100644
--- a/chrome_frame/cfproxy_proxy.cc
+++ b/chrome_frame/cfproxy_proxy.cc
@@ -64,7 +64,7 @@ void CFProxy::InitInIoThread(const ProxyParams& params) {
ipc_sender_ = api_->CreateChannel(channel_id, this);
std::wstring cmd_line = BuildCmdLine(channel_id, params.profile_path,
params.extra_params);
- if (api_->LaunchApp(cmd_line)) {
+ if (!cmd_line.empty() && api_->LaunchApp(cmd_line)) {
CancelableTask* launch_timeout = NewRunnableMethod(this,
&CFProxy::LaunchTimeOut);
ipc_thread_.message_loop()->PostDelayedTask(FROM_HERE, launch_timeout,