summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/samba.config
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/samba.config')
-rw-r--r--packaging/Debian/debian/samba.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/Debian/debian/samba.config b/packaging/Debian/debian/samba.config
index 89792d436e..300b19a2e8 100644
--- a/packaging/Debian/debian/samba.config
+++ b/packaging/Debian/debian/samba.config
@@ -24,7 +24,7 @@ smbconf_retr() {
/^\[global\]/,/^[[:space:]]*\[/ {
s/^[[:space:]]*$1[[:space:]]*=[[:space:]]*//pi
}" $FILE \
- | tail -1
+ | tail -n 1
}
FILE=/etc/samba/smb.conf