diff options
author | Martin Schwenke <martin@meltin.net> | 2020-02-06 17:57:32 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2020-02-19 09:38:40 +0000 |
commit | 586189ab69850dc292cea874f6a115851323a57c (patch) | |
tree | 400ff58710d2d2d4724f08a264207b71337c7f4d /selftest/target/Samba3.pm | |
parent | 4cd28d736ac33b73ed936f687e6b10689d68c614 (diff) | |
download | samba-586189ab69850dc292cea874f6a115851323a57c.tar.gz |
selftest: Fix an uninitialised variable warning.
If $nmbd is not "yes" then this can result in a warning.
Introduced in commit 676261fa08273114b888bb46f65de3de091b615b.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'selftest/target/Samba3.pm')
-rwxr-xr-x | selftest/target/Samba3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index ad184684820..9e86247ceab 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2591,8 +2591,8 @@ sub wait_for_start($$$$$) $cmd .= Samba::bindir_path($self, "wbinfo") . " --ping-dc"; do { + $ret = system($cmd); if ($ret != 0) { - $ret = system($cmd); sleep(1); } $count++; |