summaryrefslogtreecommitdiff
path: root/services/unix_exec_service/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-15 23:12:16 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-15 23:12:16 +0200
commit8350c401327c8f3766acf7ee9615442ea3211640 (patch)
treee6cb85a477c2aa6f6190c24bd59a604adc330c25 /services/unix_exec_service/main.cpp
parent4a2dd17aa0601fffd42f2ec1c92c6a1b79f648d3 (diff)
shell exec service fixes
some work with client
Diffstat (limited to 'services/unix_exec_service/main.cpp')
-rw-r--r--services/unix_exec_service/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/unix_exec_service/main.cpp b/services/unix_exec_service/main.cpp
index 331c98f..37a339e 100644
--- a/services/unix_exec_service/main.cpp
+++ b/services/unix_exec_service/main.cpp
@@ -124,7 +124,8 @@ void load_cmds()
else
c.command = cmd;
c.description = descr;
- cmds.push_back(c);
+ if(!c.command.empty())
+ cmds.push_back(c);
// printf("%s | %s | %s\n", _alias.c_str(), cmd.c_str(), descr.c_str());
}
}