summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-05 13:25:49 +0000
committerGerald Carter <jerry@samba.org>2003-09-05 13:25:49 +0000
commit1f32535d6093ad864f84e549410c666d5e314627 (patch)
tree0fb581ace228d1babcb588115bdc6fba1de2834a /source3/script
parent2d5cf1d4513df9f3eaf20a2eae930858c5d3f554 (diff)
downloadsamba-1f32535d6093ad864f84e549410c666d5e314627.tar.gz
samba-1f32535d6093ad864f84e549410c666d5e314627.tar.bz2
samba-1f32535d6093ad864f84e549410c666d5e314627.zip
fix some output formatting
(This used to be commit 0283b0152e4cbe3d26b305ab9867e2b0765addfe)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/findsmb.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/script/findsmb.in b/source3/script/findsmb.in
index 64215918d1..fb06018fe5 100755
--- a/source3/script/findsmb.in
+++ b/source3/script/findsmb.in
@@ -90,6 +90,7 @@ foreach $ip (@ipaddrs) # loop through each IP address found
# names starting or ending with spaces
/(.{1,15})\s+<00>\s+/;
$name = $1;
+ $name =~ s/^\s+//g;
}
# do an smbclient command on the netbios name.