mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
selftest: Fix a warning message
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
2a54c03af7
commit
4cd28d736a
@ -2358,8 +2358,9 @@ sub provision($$)
|
||||
$cmd .= "SMB_CONF_PATH=\"$conffile\" ";
|
||||
$cmd .= "$net setlocalsid $samsid";
|
||||
|
||||
if (system($cmd) != 0) {
|
||||
warn("Join failed\n$cmd");
|
||||
my $net_ret = system($cmd);
|
||||
if ($net_ret != 0) {
|
||||
warn("net setlocalsid failed: $net_ret\n$cmd");
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user