summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-08-11 17:34:00 +0000
committerHerb Lewis <herb@samba.org>1998-08-11 17:34:00 +0000
commit392a9f7225ef78f6cda34dbfe22c63658d4fbff4 (patch)
treee5d6e9528fea7bbfc3079dab8ecaf4e70446252a
parent7938e492bad71dc9a1d7618cf31c02d663a3fab0 (diff)
downloadsamba-392a9f7225ef78f6cda34dbfe22c63658d4fbff4.tar.gz
samba-392a9f7225ef78f6cda34dbfe22c63658d4fbff4.tar.bz2
samba-392a9f7225ef78f6cda34dbfe22c63658d4fbff4.zip
strip out extra spaces from smbclient output that were added recently
(This used to be commit 5f5562ff601b69c3f7629fa57ddd621e201c5806)
-rwxr-xr-xpackaging/SGI/findsmb2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/SGI/findsmb b/packaging/SGI/findsmb
index 4cb3c80a42..c10efbf22a 100755
--- a/packaging/SGI/findsmb
+++ b/packaging/SGI/findsmb
@@ -95,7 +95,7 @@ foreach $ip (@ipaddrs) # loop through each IP address found
@info = grep(/OS=/,@smb);
$_ = @info[0];
if ($_) { # we found response
- s/Domain=|OS=|Server=|\n//g; # strip out descriptions to make line shorter
+ s/.*Domain=|OS=|Server=|\n//g; # strip out descriptions to make line shorter
} else { # no OS= string in response (WIN95 client)