2013-06-26 Sancho Lerena <slerena@artica.es>

* util/plugin/pandora_loadgen.pl,
        util/plugin/ssh_pandoraplugin.sh: Fixed small problems with
        plugins provided as sample.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2013-06-26 16:21:36 +00:00
parent d1f0582c4d
commit ca47644a7f
3 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2013-06-26 Sancho Lerena <slerena@artica.es>
* util/plugin/pandora_loadgen.pl,
util/plugin/ssh_pandoraplugin.sh: Fixed small problems with
plugins provided as sample.
2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_server.redhat.spec,

View File

@ -21,7 +21,7 @@ use strict;
use warnings;
use Getopt::Long;
my $max = 10;
my $max = 100;
my $min = 0;
my $alphanumeric = 0;
@ -58,12 +58,7 @@ sub pandora_random {
# Main code -------------------------------------------------------------
# -----------------------------------------------------------------------
if ($#ARGV == -1){
help();
}
GetOptions(
"" => sub { help() },
"h" => sub { help() },
"help" => sub { help() },
"string+" => \$alphanumeric,

View File

@ -61,4 +61,5 @@ while getopts ":hp:t:c:u:" optname
done
ssh -p $PORT $USER@$HOST $COMMAND
ssh -p $PORT $USER@$HOST $COMMAND 2> /dev/null