git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8834b9c
)
Make warning a bit more user-friendly.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 20 Oct 2008 10:09:36 +0000
(12:09 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 20 Oct 2008 10:09:36 +0000
(12:09 +0200)
selftest/selftest.pl
patch
|
blob
|
history
diff --git
a/selftest/selftest.pl
b/selftest/selftest.pl
index 60eabe41d6669a86c502a726aec9f996b7428072..b1908d456cbd28c54241b08d848cac2b1d20e039 100755
(executable)
--- a/
selftest/selftest.pl
+++ b/
selftest/selftest.pl
@@
-434,7
+434,9
@@
if ($opt_socket_wrapper) {
$socket_wrapper_dir = SocketWrapper::setup_dir("$prefix/w", $opt_socket_wrapper_pcap);
print "SOCKET_WRAPPER_DIR=$socket_wrapper_dir\n";
} else {
- warn("Not using socket wrapper, but also not running as root. Will not be able to listen on proper ports") unless $< == 0;
+ unless ($< == 0) {
+ print "WARNING: Not using socket wrapper, but also not running as root. Will not be able to listen on proper ports\n";
+ }
}
my $target;