summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/findsmb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/findsmb.in b/source3/script/findsmb.in
index 5ca1d8082a..42c1dd706c 100755
--- a/source3/script/findsmb.in
+++ b/source3/script/findsmb.in
@@ -26,7 +26,7 @@ for ($i = 0; $i < 2; $i++) { # test for -d and -r options
$_ = shift;
if (m/-d|-D/) {
$DEBUG = 1;
- } else (m/-r/) {
+ } elsif (m/-r/) {
$R_OPTION = "-r";
}
}