Merge from HEAD - fix to findsmb by Waider
authorAndrew Bartlett <abartlet@samba.org>
Wed, 29 Jan 2003 13:14:18 +0000 (13:14 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Jan 2003 13:14:18 +0000 (13:14 +0000)
(This used to be commit 28258224ded31e9a0a4304170ce98534ddfa0dfa)

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";
   }
 }