summaryrefslogtreecommitdiffstats
path: root/source/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
commit0283b0152e4cbe3d26b305ab9867e2b0765addfe (patch)
tree82eedd3a549dcdf924bd40f65c153828608be85b /source/script
parent5c3094ee5558a85b9e688aca8044f228ec6fbb33 (diff)
downloadsamba-0283b0152e4cbe3d26b305ab9867e2b0765addfe.tar.gz
samba-0283b0152e4cbe3d26b305ab9867e2b0765addfe.tar.xz
samba-0283b0152e4cbe3d26b305ab9867e2b0765addfe.zip
fix some output formatting
Diffstat (limited to 'source/script')
-rwxr-xr-xsource/script/findsmb.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/script/findsmb.in b/source/script/findsmb.in
index 64215918d17..fb06018fe5c 100755
--- a/source/script/findsmb.in
+++ b/source/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.