git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a54c03
)
selftest: Fix a warning message
author
Volker Lendecke
<vl@samba.org>
Thu, 16 Jan 2020 12:23:40 +0000
(13:23 +0100)
committer
Martin Schwenke
<martins@samba.org>
Wed, 19 Feb 2020 09:38:39 +0000
(09:38 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
selftest/target/Samba3.pm
patch
|
blob
|
history
diff --git
a/selftest/target/Samba3.pm
b/selftest/target/Samba3.pm
index e73c629b894517c865940350b779fe8761b86858..ad184684820e5edc54000e05155811b3d95ffeef 100755
(executable)
--- a/
selftest/target/Samba3.pm
+++ b/
selftest/target/Samba3.pm
@@
-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;
}