mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
ctdb-scripts: Do not replace commas with spaces in "smb ports" list
The list changed back to space-separated in commit
93448f4be9
, so simplify the code a
little.
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
029dddfb79
commit
9a04ca1e1c
@ -123,8 +123,7 @@ list_samba_shares()
|
||||
|
||||
list_samba_ports()
|
||||
{
|
||||
testparm_cat --parameter-name="smb ports" |
|
||||
sed -e 's@,@ @g'
|
||||
testparm_cat --parameter-name="smb ports"
|
||||
}
|
||||
|
||||
###########################
|
||||
|
@ -61,7 +61,7 @@ security)
|
||||
exit 0
|
||||
;;
|
||||
smb*ports)
|
||||
echo "445, 139"
|
||||
echo "445 139"
|
||||
exit 0
|
||||
;;
|
||||
?*) not_implemented "--parameter-name=$parameter" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user