summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-30 10:01:48 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-30 10:03:45 +0100
commitfd82f593d75363e3d38f314425bc95ee192299b8 (patch)
tree7ff2b9ae93cac162e17b7eb6a3b35e384a4a7ede /selftest/selftest.pl
parent27e4032287e72bd3b1299210a487a5c16c8ae143 (diff)
downloadsamba-fd82f593d75363e3d38f314425bc95ee192299b8.tar.gz
samba-fd82f593d75363e3d38f314425bc95ee192299b8.tar.bz2
samba-fd82f593d75363e3d38f314425bc95ee192299b8.zip
selftest: fix default option name
metze
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 7d40db5371..cf25fa149a 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -752,7 +752,8 @@ sub setup_env($)
my $option = $name;
$envname =~ s/:.*//;
- $option =~ s/^[^:]*://;
+ $option =~ s/^[^:]*//;
+ $option =~ s/^://;
$option = "client" if $option eq "";