mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
selftest: Report better error message if environment is unknown
Now we get the error “environment [...] is unknown” rather than “samba can't start up known environment”. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a1a1adb7b7
commit
480060ecd3
@ -129,7 +129,7 @@ sub setup_env($$$)
|
||||
}
|
||||
if ($env eq "UNKNOWN") {
|
||||
warn("unknown environment '$envname'");
|
||||
return undef;
|
||||
return $env;
|
||||
}
|
||||
|
||||
$target->{vars}->{$envname} = $env;
|
||||
|
Loading…
Reference in New Issue
Block a user