diff options
author | Herb Lewis <herb@samba.org> | 1998-08-11 17:34:00 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-08-11 17:34:00 +0000 |
commit | 392a9f7225ef78f6cda34dbfe22c63658d4fbff4 (patch) | |
tree | e5d6e9528fea7bbfc3079dab8ecaf4e70446252a | |
parent | 7938e492bad71dc9a1d7618cf31c02d663a3fab0 (diff) | |
download | samba-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-x | packaging/SGI/findsmb | 2 |
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) |