Fix to findsmb by Waider
authorAndrew Bartlett <abartlet@samba.org>
Wed, 29 Jan 2003 13:13:00 +0000 (13:13 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Jan 2003 13:13:00 +0000 (13:13 +0000)
(This used to be commit c32c1bccc27f10e2f44f3e7f3778aae38bba8f25)

source3/script/findsmb.in

index 5ca1d8082a52a674a2054e6b662c3b3bf5e97e41..42c1dd706c9caa29844d28ae6b9e4ac574bd2f14 100755 (executable)
@@ -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";
   }
 }