mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 23:55:01 -04:00
12 lines
225 B
Raku
12 lines
225 B
Raku
sub checkstunnel {
|
|
my @paths=("/usr/sbin", "/usr/local/sbin", "/sbin", "/usr/bin",
|
|
"/usr/local/bin");
|
|
for(@paths) {
|
|
if( -x "$_/stunnel") {
|
|
return "$_/stunnel";
|
|
}
|
|
}
|
|
}
|
|
|
|
1;
|