mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 16:38:38 +00:00
Fix config.pl to return successful exitcode for full and realfull
This commit is contained in:
parent
45103f3e15
commit
dd9895d810
1 changed files with 9 additions and 6 deletions
|
@ -225,14 +225,17 @@ if ($action eq "set"&& $force_option && !$done) {
|
||||||
|
|
||||||
close $config_write;
|
close $config_write;
|
||||||
|
|
||||||
if ($action eq "get" && $done) {
|
if ($action eq "get") {
|
||||||
|
if($done) {
|
||||||
if ($value ne '') {
|
if ($value ne '') {
|
||||||
print $value;
|
print $value;
|
||||||
}
|
}
|
||||||
exit 0;
|
exit 0;
|
||||||
} else {
|
} else {
|
||||||
|
# If the symbol was not found, return an error
|
||||||
exit -1;
|
exit -1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($action eq "full" && !$done) {
|
if ($action eq "full" && !$done) {
|
||||||
die "Configuration section was not found in $config_file\n";
|
die "Configuration section was not found in $config_file\n";
|
||||||
|
|
Loading…
Reference in a new issue