proper definition of os variable

This commit is contained in:
Dirk Wetter
2025-11-24 11:07:16 +01:00
parent 7ba99cd1e9
commit d359e1108d
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ my $diff="";
my $distro_openssl="/usr/bin/openssl";
my @args="";
# that can be done better but I am a perl n00b ;-)
my $os=`perl -e 'print "$^O";'`;
my $os="$^O";
die "Unable to open $prg" unless -f $prg;
die "Unable to open $distro_openssl" unless -f $distro_openssl;

View File

@@ -18,7 +18,7 @@ my $cmd_timeout="--openssl-timeout=10";
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
# that can be done better but I am a perl n00b ;-)
my $os=`perl -e 'print "$^O";'`;
my $os="$^O";'
die "Unable to open $prg" unless -f $prg;