Skip to content

Commit

Permalink
todo : empty result to change
Browse files Browse the repository at this point in the history
  • Loading branch information
TiTidom-RC committed Nov 3, 2024
1 parent 4b2f690 commit d9abf4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/class/sshmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ private function internalExecuteCmd(string $command, $cmdName = '') {
return $result;
}

// TODO ATTENTION, une variable qui renvoit 0 est considérée comme vide... A corriger

if (!empty($result)) {
$result = trim($result);
//TODO: '\n' should be escaped from $result before logging
Expand Down
2 changes: 1 addition & 1 deletion plugin_info/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "sshmanager",
"name": "SSH Manager",
"pluginVersion": "1.0.3",
"pluginVersion": "1.0.4",
"description": {
"fr_FR": "Plugin permettant d'ajouter (manuellement ou à partir de templates) des commandes SSH à executer (manuellement ou automatiquement) sur des équipements distants, et pouvant également être utilisé par d'autres plugin comme passerelle SSH.",
"en_US": "Plugin for adding (manually or from templates) SSH commands to be executed (manually or automatically) on remote devices, and which can also be used by other plugins as an SSH gateway.",
Expand Down

0 comments on commit d9abf4f

Please sign in to comment.