diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-15 23:12:16 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-15 23:12:16 +0200 |
commit | 8350c401327c8f3766acf7ee9615442ea3211640 (patch) | |
tree | e6cb85a477c2aa6f6190c24bd59a604adc330c25 /services/unix_exec_service/main.cpp | |
parent | 4a2dd17aa0601fffd42f2ec1c92c6a1b79f648d3 (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.cpp | 3 |
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()); } } |