From 392a9f7225ef78f6cda34dbfe22c63658d4fbff4 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 11 Aug 1998 17:34:00 +0000 Subject: strip out extra spaces from smbclient output that were added recently (This used to be commit 5f5562ff601b69c3f7629fa57ddd621e201c5806) --- packaging/SGI/findsmb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/SGI') 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) -- cgit