git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
27e4032
)
selftest: fix default option name
author
Stefan Metzmacher
<metze@samba.org>
Fri, 30 Jan 2009 09:01:48 +0000
(10:01 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 30 Jan 2009 09:03:45 +0000
(10:03 +0100)
metze
selftest/selftest.pl
patch
|
blob
|
history
diff --git
a/selftest/selftest.pl
b/selftest/selftest.pl
index 7d40db5371a729aa3dedbbc716c178cac54150f6..cf25fa149a1a6e0fa0ac2a71fbd5599fc9d74410 100755
(executable)
--- a/
selftest/selftest.pl
+++ b/
selftest/selftest.pl
@@
-752,7
+752,8
@@
sub setup_env($)
my $option = $name;
$envname =~ s/:.*//;
my $option = $name;
$envname =~ s/:.*//;
- $option =~ s/^[^:]*://;
+ $option =~ s/^[^:]*//;
+ $option =~ s/^://;
$option = "client" if $option eq "";
$option = "client" if $option eq "";